< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2006, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -113,23 +113,19 @@
 
     @SuppressWarnings({"unchecked", "rawtypes"})
     NEW_SESSION_TICKET          ((byte)0x04, "new_session_ticket",
         (Map.Entry<SSLConsumer, ProtocolVersion[]>[])(new Map.Entry[] {
             new SimpleImmutableEntry<SSLConsumer, ProtocolVersion[]>(
-                 NewSessionTicket.handshake12Consumer,
-                 ProtocolVersion.PROTOCOLS_TO_12
-            ),
-            new SimpleImmutableEntry<SSLConsumer, ProtocolVersion[]>(
-                 NewSessionTicket.handshakeConsumer,
-                 ProtocolVersion.PROTOCOLS_OF_13
-            )
+                NewSessionTicket.handshakeConsumer,
+                ProtocolVersion.PROTOCOLS_OF_13
+        )
         }),
         (Map.Entry<HandshakeProducer, ProtocolVersion[]>[])(new Map.Entry[] {
             new SimpleImmutableEntry<HandshakeProducer, ProtocolVersion[]>(
-                 NewSessionTicket.handshake12Producer,
-                 ProtocolVersion.PROTOCOLS_TO_12
-            )
+                NewSessionTicket.handshakeProducer,
+                ProtocolVersion.PROTOCOLS_OF_13
+        )
         })),
     END_OF_EARLY_DATA           ((byte)0x05, "end_of_early_data"),
 
     @SuppressWarnings({"unchecked", "rawtypes"})
     ENCRYPTED_EXTENSIONS        ((byte)0x08, "encrypted_extensions",
< prev index next >