forked from I2P_Developers/i2p.i2p
datagram sigtype bugfix
This commit is contained in:
@ -69,7 +69,7 @@ public final class I2PDatagramDissector {
|
|||||||
// read destination
|
// read destination
|
||||||
rxDest = Destination.create(dgStream);
|
rxDest = Destination.create(dgStream);
|
||||||
SigType type = rxDest.getSigningPublicKey().getType();
|
SigType type = rxDest.getSigningPublicKey().getType();
|
||||||
if (type != null)
|
if (type == null)
|
||||||
throw new DataFormatException("unsupported sig type");
|
throw new DataFormatException("unsupported sig type");
|
||||||
rxSign = new Signature(type);
|
rxSign = new Signature(type);
|
||||||
// read signature
|
// read signature
|
||||||
|
Reference in New Issue
Block a user