mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
* RouterInfo: Fix fatal NPE in last checkin
This commit is contained in:
1 parent
bed548d5af
commit
565807126c
3 files changed
+5
-2
No files matched your search
@@ -556,8 +556,8 @@ public class RouterInfo extends DatabaseEntry {
|
||||
_signature = new Signature();
|
||||
_signature.readBytes(in);
|
||||
|
||||
SHA1Hash hash = new SHA1Hash(digest.digest());
|
||||
if (verifySig) {
|
||||
SHA1Hash hash = new SHA1Hash(digest.digest());
|
||||
_isValid = DSAEngine.getInstance().verifySignature(_signature, hash, _identity.getSigningPublicKey());
|
||||
_validated = true;
|
||||
if (!_isValid) {
|
||||
|
||||
Reference in new issue
Block a user