forked from I2P_Developers/i2p.i2p
Router: Fix tunnel testing for ECIES routers
This commit is contained in:
@ -196,7 +196,7 @@ public class MessageWrapper {
|
||||
* @since 0.9.7
|
||||
*/
|
||||
public static OneTimeSession generateSession(RouterContext ctx, long expiration) {
|
||||
return generateSession(ctx, ctx.sessionKeyManager(), expiration, true);
|
||||
return generateSession(ctx, ctx.sessionKeyManager(), expiration, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -123,7 +123,7 @@ class TestJob extends JobImpl {
|
||||
// to client. false means don't force AES
|
||||
sess = MessageWrapper.generateSession(ctx, _pool.getSettings().getDestination(), testPeriod, false);
|
||||
} else {
|
||||
// to router. AES.
|
||||
// to router. AES or ChaCha.
|
||||
sess = MessageWrapper.generateSession(ctx, testPeriod);
|
||||
}
|
||||
if (sess == null) {
|
||||
|
Reference in New Issue
Block a user