Skip to content
Permalink
Browse files
8258736: No break in the loop
Reviewed-by: wetmore
  • Loading branch information
XueleiFan committed Dec 21, 2020
1 parent 01d51a1 commit 12297a00eff8756a2f09007d8e79bfb71f3b26b5
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/java.base/share/classes/sun/security/ssl/SSLCipher.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, 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
@@ -532,6 +532,7 @@ SSLReadCipher createReadCipher(Authenticator authenticator,
for (ProtocolVersion pv : me.getValue()) {
if (protocolVersion == pv) {
rcg = me.getKey();
break;
}
}
}
@@ -557,6 +558,7 @@ SSLWriteCipher createWriteCipher(Authenticator authenticator,
for (ProtocolVersion pv : me.getValue()) {
if (protocolVersion == pv) {
wcg = me.getKey();
break;
}
}
}

1 comment on commit 12297a0

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 12297a0 Dec 21, 2020

Please sign in to comment.