< prev index next >

src/java.base/share/classes/sun/security/ssl/HandshakeMessage.java

Print this page

        

@@ -1961,10 +1961,11 @@
                  * RFC 5246/7.4.9 says that finished messages can
                  * be ciphersuite-specific in both length/PRF hash
                  * algorithm.  If we ever run across a different
                  * length, this call will need to be updated.
                  */
+                @SuppressWarnings("deprecation")
                 TlsPrfParameterSpec spec = new TlsPrfParameterSpec(
                     masterKey, tlsLabel, seed, 12,
                     prfHashAlg, prfHashLength, prfBlockSize);
 
                 KeyGenerator kg = JsseJce.getKeyGenerator(prfAlg);
< prev index next >