Changeset c714c1a


Ignore:
Timestamp:
Aug 30, 2009 4:05:12 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5ca2f306
Parents:
e6e6c004
Message:

instantiate per-client SKM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/client/ClientConnectionRunner.java

    re6e6c004 rc714c1a  
    1919
    2020import net.i2p.crypto.SessionKeyManager;
     21import net.i2p.crypto.TransientSessionKeyManager;
    2122import net.i2p.data.Destination;
    2223import net.i2p.data.Hash;
     
    189190            _log.debug("SessionEstablished called for destination " + _destHashCache.toBase64());
    190191        _config = config;
    191         // per-dest unimplemented
    192         //if (_sessionKeyManager == null)
    193         //    _sessionKeyManager = new TransientSessionKeyManager(_context);
    194         //else
    195         //    _log.error("SessionEstablished called for twice for destination " + _destHashCache.toBase64().substring(0,4));
     192        // per-destination session key manager to prevent rather easy correlation
     193        if (_sessionKeyManager == null)
     194            _sessionKeyManager = new TransientSessionKeyManager(_context);
     195        else
     196            _log.error("SessionEstablished called for twice for destination " + _destHashCache.toBase64().substring(0,4));
    196197        _manager.destinationEstablished(this);
    197198    }
Note: See TracChangeset for help on using the changeset viewer.