Changeset 7511de68 for core


Ignore:
Timestamp:
Mar 14, 2019 3:19:23 PM (13 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8962ea05
Parents:
0b5a36d5
Message:

Router: Remove unused test support for AES disabled

Location:
core/java/src/net/i2p
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/I2PAppContext.java

    r0b5a36d5 r7511de68  
    695695        synchronized (_lock7) {
    696696            if (_AESEngine == null) {
    697                 if ("off".equals(getProperty("i2p.encryption", "on")))
    698                     _AESEngine = new AESEngine(this);
    699                 else
    700                     _AESEngine = new CryptixAESEngine(this);
     697                _AESEngine = new CryptixAESEngine(this);
    701698            }
    702699            _AESEngineInitialized = true;
  • core/java/src/net/i2p/crypto/AESEngine.java

    r0b5a36d5 r7511de68  
    1919/**
    2020 * Dummy wrapper for AES cipher operation.
    21  * Warning -
    22  * most methods UNUSED unless i2p.encryption = off
     21 * Warning - most methods UNUSED.
    2322 * See CryptixAESEngine overrides for the real thing.
    2423 */
     
    2726    protected final I2PAppContext _context;
    2827
    29     public AESEngine(I2PAppContext ctx) {
     28    protected AESEngine(I2PAppContext ctx) {
    3029        _context = ctx;
    3130        _log = _context.logManager().getLog(getClass());
Note: See TracChangeset for help on using the changeset viewer.