SSLLogger.java (was Re: Code Review Request: TLS 1.3 Implementation)

Weijun Wang weijun.wang at oracle.com
Wed Jun 6 12:41:07 UTC 2018


There are lots of calls like

   RSAClientKeyExchangeMessage ckem =
           new RSAClientKeyExchangeMessage(shc, message);
   if (SSLLogger.isOn && SSLLogger.isOn("ssl,handshake")) {
       SSLLogger.fine(
           "Consuming RSA ClientKeyExchange handshake message", ckem);
   }

which finally calls to

   String formatted =
        SSLSimpleFormatter.formatParameters(params);
   logger.log(level, msg, formatted);

Now that msg contains no placeholder likes "{0}", nothing on temporary will be shown.

Am I understanding this correctly?

Thanks
Max




More information about the security-dev mailing list