forked from I2P_Developers/i2p.i2p
findbugs all over
This commit is contained in:
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 12;
|
||||
public final static long BUILD = 13;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "-rc";
|
||||
|
@ -190,7 +190,6 @@ public final class ECIESAEADEngine {
|
||||
RatchetSessionTag st = new RatchetSessionTag(tag);
|
||||
SessionKeyAndNonce key = keyManager.consumeTag(st);
|
||||
CloveSet decrypted;
|
||||
final boolean shouldDebug = _log.shouldDebug();
|
||||
if (key != null) {
|
||||
decrypted = xx_decryptFast(tag, st, key, data, targetPrivateKey, keyManager);
|
||||
// we do NOT retry as NS
|
||||
@ -957,9 +956,11 @@ public final class ECIESAEADEngine {
|
||||
/**
|
||||
* No ad
|
||||
*/
|
||||
/*
|
||||
private final byte[] encryptAEADBlock(byte data[], SessionKey key, long n) {
|
||||
return encryptAEADBlock(null, data, key, n);
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -1157,7 +1157,6 @@ public class RatchetSKM extends SessionKeyManager implements SessionTagListener
|
||||
_hisIBKey = receivedKey;
|
||||
|
||||
// create new OB TS, delete old one
|
||||
PublicKey pub = nextKeys.getPublic();
|
||||
PrivateKey priv = nextKeys.getPrivate();
|
||||
PrivateKey sharedSecret = ECIESAEADEngine.doDH(priv, key);
|
||||
byte[] sk = new byte[32];
|
||||
|
@ -1196,7 +1196,7 @@ public class OutboundClientMessageOneShotJob extends JobImpl {
|
||||
}
|
||||
|
||||
public void onReply() {
|
||||
runJob();
|
||||
super.runJob();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -562,7 +562,6 @@ public class TunnelPoolManager implements TunnelManagerFacade {
|
||||
(!_context.getBooleanPropertyDefaultTrue("router.disableTunnelTesting") ||
|
||||
_context.router().isHidden() ||
|
||||
_context.router().getRouterInfo().getAddressCount() <= 0)) {
|
||||
Hash client = cfg.getDestination();
|
||||
TunnelPool pool = cfg.getTunnelPool();
|
||||
_context.jobQueue().addJob(new TestJob(_context, cfg, pool));
|
||||
}
|
||||
|
Reference in New Issue
Block a user