forked from I2P_Developers/i2p.i2p
log tweak
This commit is contained in:
@ -406,8 +406,8 @@ public class ElGamalAESEngine {
|
|||||||
_context.statManager().updateFrequency("crypto.elGamalAES.encryptNewSession");
|
_context.statManager().updateFrequency("crypto.elGamalAES.encryptNewSession");
|
||||||
return encryptNewSession(data, target, key, tagsForDelivery, newKey, paddedSize);
|
return encryptNewSession(data, target, key, tagsForDelivery, newKey, paddedSize);
|
||||||
}
|
}
|
||||||
if (_log.shouldLog(Log.INFO))
|
//if (_log.shouldLog(Log.INFO))
|
||||||
_log.info("Current tag is NOT null, encrypting as existing session");
|
// _log.info("Current tag is NOT null, encrypting as existing session");
|
||||||
_context.statManager().updateFrequency("crypto.elGamalAES.encryptExistingSession");
|
_context.statManager().updateFrequency("crypto.elGamalAES.encryptExistingSession");
|
||||||
byte rv[] = encryptExistingSession(data, target, key, tagsForDelivery, currentTag, newKey, paddedSize);
|
byte rv[] = encryptExistingSession(data, target, key, tagsForDelivery, currentTag, newKey, paddedSize);
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
|
Reference in New Issue
Block a user