forked from I2P_Developers/i2p.i2p
findbugs all over
This commit is contained in:
@@ -260,8 +260,6 @@ class OutboundClientMessageJobHelper {
|
||||
// remembering that key+tag so that we can decrypt it later. this means we can do the
|
||||
// garlic encryption without any ElGamal (yay)
|
||||
MessageWrapper.OneTimeSession sess = MessageWrapper.generateSession(ctx, skm);
|
||||
if (sess == null)
|
||||
return null;
|
||||
GarlicMessage msg = MessageWrapper.wrap(ctx, dsm, sess);
|
||||
return msg;
|
||||
}
|
||||
|
@@ -187,6 +187,7 @@ public class MessageWrapper {
|
||||
* The recipient can then send us an AES-encrypted message,
|
||||
* avoiding ElGamal.
|
||||
*
|
||||
* @return non-null
|
||||
* @since 0.9.9
|
||||
*/
|
||||
public static OneTimeSession generateSession(RouterContext ctx, SessionKeyManager skm) {
|
||||
|
Reference in New Issue
Block a user