src/java.base/share/classes/sun/security/ssl/SSLAlgorithmDecomposer.java
changeset 53608 6c377af36a5c
parent 50768 68fa3d4026ea
equal deleted inserted replaced
53577:7d19ac37d7d1 53608:6c377af36a5c
     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
   264                 cipherSuite = CipherSuite.nameOf(algorithm);
   264                 cipherSuite = CipherSuite.nameOf(algorithm);
   265             } catch (IllegalArgumentException iae) {
   265             } catch (IllegalArgumentException iae) {
   266                 // ignore: unknown or unsupported ciphersuite
   266                 // ignore: unknown or unsupported ciphersuite
   267             }
   267             }
   268 
   268 
   269             if (cipherSuite != null) {
   269             if (cipherSuite != null &&
       
   270                 cipherSuite != CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV) {
   270                 return decompose(cipherSuite.keyExchange,
   271                 return decompose(cipherSuite.keyExchange,
   271                         cipherSuite.bulkCipher,
   272                         cipherSuite.bulkCipher,
   272                         cipherSuite.macAlg,
   273                         cipherSuite.macAlg,
   273                         cipherSuite.hashAlg);
   274                         cipherSuite.hashAlg);
   274             }
   275             }