-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b11
In the RSAKeyExchange.java code, both System.out and System.err are used for the same debug log message.
// unlikely to happen, otherwise, must be a provider exception
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
- SSLLogger.fine("RSA premaster secret generation error:");
- iae.printStackTrace(System.out);
+ SSLLogger.fine("RSA premaster secret generation error", iae);
}
For consistency, the SSLLogger method should be used for debugging information dumping.
// unlikely to happen, otherwise, must be a provider exception
if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
- SSLLogger.fine("RSA premaster secret generation error:");
- iae.printStackTrace(System.out);
+ SSLLogger.fine("RSA premaster secret generation error", iae);
}
For consistency, the SSLLogger method should be used for debugging information dumping.