I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f9ffdd51 authored by zzz's avatar zzz
Browse files

Router: Fix tunnel testing for ECIES routers

parent 38f99553
No related branches found
No related tags found
No related merge requests found
...@@ -196,7 +196,7 @@ public class MessageWrapper { ...@@ -196,7 +196,7 @@ public class MessageWrapper {
* @since 0.9.7 * @since 0.9.7
*/ */
public static OneTimeSession generateSession(RouterContext ctx, long expiration) { 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 { ...@@ -123,7 +123,7 @@ class TestJob extends JobImpl {
// to client. false means don't force AES // to client. false means don't force AES
sess = MessageWrapper.generateSession(ctx, _pool.getSettings().getDestination(), testPeriod, false); sess = MessageWrapper.generateSession(ctx, _pool.getSettings().getDestination(), testPeriod, false);
} else { } else {
// to router. AES. // to router. AES or ChaCha.
sess = MessageWrapper.generateSession(ctx, testPeriod); sess = MessageWrapper.generateSession(ctx, testPeriod);
} }
if (sess == null) { if (sess == null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment