--- a/src/java.base/share/classes/sun/security/ssl/RSAServerKeyExchange.java Thu Jun 21 10:15:41 2018 +0800
+++ b/src/java.base/share/classes/sun/security/ssl/RSAServerKeyExchange.java Thu Jun 21 21:14:08 2018 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 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
@@ -216,9 +216,6 @@
*/
private static final
class RSAServerKeyExchangeProducer implements HandshakeProducer {
- static final RSAServerKeyExchangeProducer INSTANCE =
- new RSAServerKeyExchangeProducer();
-
// Prevent instantiation of this class.
private RSAServerKeyExchangeProducer() {
// blank
@@ -306,7 +303,7 @@
//
// validate
//
- // check constraints of EC PublicKey
+ // check constraints of RSA PublicKey
RSAPublicKey publicKey;
try {
KeyFactory kf = JsseJce.getKeyFactory("RSA");