--- a/src/java.base/share/classes/sun/security/ssl/RandomCookie.java Tue Jun 05 12:01:35 2018 -0700
+++ b/src/java.base/share/classes/sun/security/ssl/RandomCookie.java Wed Jun 06 09:39:14 2018 -0700
@@ -130,10 +130,10 @@
}
private boolean isT12Downgrade() {
- return Arrays.equals(randomBytes, 24, 31, t12Protection, 0, 7);
+ return Arrays.equals(randomBytes, 24, 32, t12Protection, 0, 8);
}
private boolean isT11Downgrade() {
- return Arrays.equals(randomBytes, 24, 31, t11Protection, 0, 7);
+ return Arrays.equals(randomBytes, 24, 32, t11Protection, 0, 8);
}
}