Skip to content
Permalink
Browse files
8282320: Remove case conversion for debugging log in SSLCipher
Reviewed-by: weijun
  • Loading branch information
XueleiFan committed Mar 1, 2022
1 parent b86a8c0 commit eac80214aea4f5c148e859b4b163fe42e89596cd
Showing 1 changed file with 8 additions and 8 deletions.
@@ -1867,10 +1867,10 @@ static final class GcmReadCipher extends SSLReadCipher {
this.random = random;

keyLimitCountdown = cipherLimits.getOrDefault(
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.fine("KeyLimit read side: algorithm = " +
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0] +
algorithm + ":" + tag[0] +
"\ncountdown value = " + keyLimitCountdown);
}
if (keyLimitCountdown > 0) {
@@ -2021,10 +2021,10 @@ private static final class GcmWriteCipher extends SSLWriteCipher {
this.random = random;

keyLimitCountdown = cipherLimits.getOrDefault(
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.fine("KeyLimit write side: algorithm = "
+ algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0] +
+ algorithm + ":" + tag[0] +
"\ncountdown value = " + keyLimitCountdown);
}
if (keyLimitCountdown > 0) {
@@ -2281,9 +2281,9 @@ private static final class CC20P1305WriteCipher extends SSLWriteCipher {
this.random = random;

keyLimitCountdown = cipherLimits.getOrDefault(
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.fine("algorithm = " + algorithm.toUpperCase(Locale.ENGLISH) +
SSLLogger.fine("algorithm = " + algorithm +
":" + tag[0] + "\ncountdown value = " +
keyLimitCountdown);
}
@@ -2563,9 +2563,9 @@ private static final class CC20P1305WriteCipher extends SSLWriteCipher {
this.random = random;

keyLimitCountdown = cipherLimits.getOrDefault(
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
algorithm.toUpperCase(Locale.ENGLISH) + ":" + tag[0], 0L);
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.fine("algorithm = " + algorithm.toUpperCase(Locale.ENGLISH) +
SSLLogger.fine("algorithm = " + algorithm +
":" + tag[0] + "\ncountdown value = " +
keyLimitCountdown);
}

1 comment on commit eac8021

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on eac8021 Mar 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.