< prev index next >
test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java
Print this page
rev 14346 : 8202343: Disable TLS 1.0 and 1.1
Reviewed-by: xuelei, dfuchs, coffeys, sgehwolf
*** 1,7 ****
/*
! * Copyright (c) 2015, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2015, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 24,33 ****
--- 24,34 ----
/*
* @test
* @bug 8044860
* @summary Vectors and fixed length fields should be verified
* for allowed sizes.
+ * @library /lib/security
* @run main/othervm LengthCheckTest
* @key randomness
*/
/**
*** 297,306 ****
--- 298,310 ----
/*
* Main entry point for this test.
*/
public static void main(String args[]) throws Exception {
+ // Re-enable TLSv1 since test depends on it.
+ SecurityUtils.removeFromDisabledTlsAlgs("TLSv1");
+
List<LengthCheckTest> ccsTests = new ArrayList<>();
if (debug) {
System.setProperty("javax.net.debug", "ssl");
}
< prev index next >