src/java.base/share/classes/sun/security/ssl/RenegoInfoExtension.java
changeset 53563 a4b7ea85d668
parent 53064 103ed9569fc8
equal deleted inserted replaced
53559:1ae0b76bb5df 53563:a4b7ea85d668
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   143             }
   143             }
   144 
   144 
   145             if (!chc.conContext.isNegotiated) {
   145             if (!chc.conContext.isNegotiated) {
   146                 if (chc.activeCipherSuites.contains(
   146                 if (chc.activeCipherSuites.contains(
   147                         CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV)) {
   147                         CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV)) {
   148                     // Using the the TLS_EMPTY_RENEGOTIATION_INFO_SCSV instead.
   148                     // Using the TLS_EMPTY_RENEGOTIATION_INFO_SCSV instead.
   149                     return null;
   149                     return null;
   150                 }
   150                 }
   151 
   151 
   152                 // initial handshaking.
   152                 // initial handshaking.
   153                 //
   153                 //