src/java.base/share/classes/sun/security/ssl/RandomCookie.java
branchJDK-8145252-TLS13-branch
changeset 56683 cf2370de8673
parent 56614 1fc6a8df1958
equal deleted inserted replaced
56674:d2ba9e6f1cac 56683:cf2370de8673
   128 
   128 
   129         return false;
   129         return false;
   130     }
   130     }
   131 
   131 
   132     private boolean isT12Downgrade() {
   132     private boolean isT12Downgrade() {
   133         return Arrays.equals(randomBytes, 24, 31, t12Protection, 0, 7);
   133         return Arrays.equals(randomBytes, 24, 32, t12Protection, 0, 8);
   134     }
   134     }
   135 
   135 
   136     private boolean isT11Downgrade() {
   136     private boolean isT11Downgrade() {
   137         return Arrays.equals(randomBytes, 24, 31, t11Protection, 0, 7);
   137         return Arrays.equals(randomBytes, 24, 32, t11Protection, 0, 8);
   138     }
   138     }
   139 }
   139 }