8042178: A comment need to go in RSAClientKeyExchange.java
authorxuelei
Tue, 29 Apr 2014 23:20:34 +0000
changeset 24194 45f278eb1b37
parent 24193 8d7364310e93
child 24195 705325a63a58
8042178: A comment need to go in RSAClientKeyExchange.java Reviewed-by: mullan
jdk/src/share/classes/sun/security/ssl/RSAClientKeyExchange.java
--- a/jdk/src/share/classes/sun/security/ssl/RSAClientKeyExchange.java	Tue Apr 29 11:04:47 2014 -0700
+++ b/jdk/src/share/classes/sun/security/ssl/RSAClientKeyExchange.java	Tue Apr 29 23:20:34 2014 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -113,7 +113,6 @@
 
         try {
             Cipher cipher = JsseJce.getCipher(JsseJce.CIPHER_RSA_PKCS1);
-            // Cannot generate key here, please don't use Cipher.UNWRAP_MODE!
             cipher.init(Cipher.UNWRAP_MODE, privateKey,
                     new TlsRsaPremasterSecretParameterSpec(
                             maxVersion.v, currentVersion.v),