Changeset 0e029f8 for router


Ignore:
Timestamp:
Feb 3, 2019 7:03:28 PM (17 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ead4925
Parents:
bd6cf53d
Message:

I2CP: Fix LS2 NPE

File:
1 edited

Legend:

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

    rbd6cf53d r0e029f8  
    564564                // just register new SPK, don't verify, unused
    565565                _context.keyManager().registerKeys(dest, message.getSigningPrivateKey(), message.getPrivateKey());
    566             } else if (!message.getSigningPrivateKey().equals(keys.getRevocationKey())) {
     566            } else if (message.getSigningPrivateKey() != null &&
     567                       !message.getSigningPrivateKey().equals(keys.getRevocationKey())) {
    567568                // just register new SPK, don't verify, unused
    568569                _context.keyManager().registerKeys(dest, message.getSigningPrivateKey(), message.getPrivateKey());
Note: See TracChangeset for help on using the changeset viewer.