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

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

fix encrypted leasesets

parent e5f19c98
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ class RequestLeaseSetMessageHandler extends HandlerImpl { ...@@ -79,7 +79,7 @@ class RequestLeaseSetMessageHandler extends HandlerImpl {
leaseSet.setEncryptionKey(li.getPublicKey()); leaseSet.setEncryptionKey(li.getPublicKey());
leaseSet.setSigningKey(li.getSigningPublicKey()); leaseSet.setSigningKey(li.getSigningPublicKey());
boolean encrypt = Boolean.valueOf(session.getOptions().getProperty("i2cp.encryptLeaseset")).booleanValue(); boolean encrypt = Boolean.valueOf(session.getOptions().getProperty("i2cp.encryptLeaseSet")).booleanValue();
String sk = session.getOptions().getProperty("i2cp.leaseSetKey"); String sk = session.getOptions().getProperty("i2cp.leaseSetKey");
if (encrypt && sk != null) { if (encrypt && sk != null) {
SessionKey key = new SessionKey(); SessionKey key = new SessionKey();
......
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