mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
NetDB: Check signature in verify
Remove null checks, _target can't be null
This commit is contained in:
1 parent
aadc9a13aa
commit
365b9053ec
2 files changed
+14
-5
No files matched your search
@@ -231,8 +231,9 @@ public abstract class DatabaseEntry extends DataStructureImpl {
|
||||
* This is the same as isValid() in RouterInfo
|
||||
* or verifySignature() in LeaseSet.
|
||||
* @return valid
|
||||
* @since public since 0.9.47, was protected
|
||||
*/
|
||||
protected boolean verifySignature() {
|
||||
public boolean verifySignature() {
|
||||
if (_signature == null)
|
||||
return false;
|
||||
byte data[];
|
||||
|
||||
Reference in new issue
Block a user