# HG changeset patch # User xuelei # Date 1398813634 0 # Node ID 45f278eb1b373f5a386d32d2c86465ece64dccf6 # Parent 8d7364310e93718cd9f54eb51b92a6f07a2b42a1 8042178: A comment need to go in RSAClientKeyExchange.java Reviewed-by: mullan diff -r 8d7364310e93 -r 45f278eb1b37 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),