File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/java.base/share/classes/sun/security/ssl Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2018, 2019 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2018, 2020 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -532,6 +532,7 @@ SSLReadCipher createReadCipher(Authenticator authenticator,
532532 for (ProtocolVersion pv : me .getValue ()) {
533533 if (protocolVersion == pv ) {
534534 rcg = me .getKey ();
535+ break ;
535536 }
536537 }
537538 }
@@ -557,6 +558,7 @@ SSLWriteCipher createWriteCipher(Authenticator authenticator,
557558 for (ProtocolVersion pv : me .getValue ()) {
558559 if (protocolVersion == pv ) {
559560 wcg = me .getKey ();
561+ break ;
560562 }
561563 }
562564 }
You can’t perform that action at this time.
0 commit comments