Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 11
-
Fix Version/s: 12
-
Component/s: security-libs
-
Subcomponent:
-
Introduced In Version:
-
Resolved In Build:b22
-
Verification:Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8230583 | 11.0.6-oracle | Xuelei Fan | P4 | Resolved | Fixed | b01 |
JDK-8234281 | 11.0.6 | Xuelei Fan | P4 | Resolved | Fixed | b04 |
JDK-8256745 | openjdk8u272 | Martin Balao | P4 | Closed | Fixed | b06 |
JDK-8243709 | 8u261 | Prasadarao Koppula | P4 | Resolved | Fixed | b05 |
JDK-8247042 | emb-8u261 | Prasadarao Koppula | P4 | Resolved | Fixed | team |
Description
One potential code issue in SSLCipher.java:
SSLWriteCipher createWriteCipher(Authenticator authenticator,
ProtocolVersion protocolVersion,
SecretKey key, IvParameterSpec iv,
SecureRandom random) throws GeneralSecurityException {
- if (readCipherGenerators.length == 0) {
+ if (writeCipherGenerators.length == 0) {
return null;
}
The code should have no impact, but it is nice to make an update for readability.
SSLWriteCipher createWriteCipher(Authenticator authenticator,
ProtocolVersion protocolVersion,
SecretKey key, IvParameterSpec iv,
SecureRandom random) throws GeneralSecurityException {
- if (readCipherGenerators.length == 0) {
+ if (writeCipherGenerators.length == 0) {
return null;
}
The code should have no impact, but it is nice to make an update for readability.
Attachments
Issue Links
- backported by
-
JDK-8230583 Misleading code in SSLCipher
-
- Resolved
-
-
JDK-8234281 Misleading code in SSLCipher
-
- Resolved
-
-
JDK-8243709 Misleading code in SSLCipher
-
- Resolved
-
-
JDK-8247042 Misleading code in SSLCipher
-
- Resolved
-
-
JDK-8256745 Misleading code in SSLCipher
-
- Closed
-