datagram sigtype bugfix

This commit is contained in:
zzz
2014-01-28 22:40:36 +00:00
parent ec22a1dafc
commit 2cacded182

View File

@ -69,7 +69,7 @@ public final class I2PDatagramDissector {
// read destination
rxDest = Destination.create(dgStream);
SigType type = rxDest.getSigningPublicKey().getType();
if (type != null)
if (type == null)
throw new DataFormatException("unsupported sig type");
rxSign = new Signature(type);
// read signature