|
|
acdedc |
diff -up openssl-1.1.1b/test/ssl-tests/20-cert-select.conf.in.no-brainpool openssl-1.1.1b/test/ssl-tests/20-cert-select.conf.in
|
|
|
acdedc |
--- openssl-1.1.1b/test/ssl-tests/20-cert-select.conf.in.no-brainpool 2019-02-26 15:15:30.000000000 +0100
|
|
|
acdedc |
+++ openssl-1.1.1b/test/ssl-tests/20-cert-select.conf.in 2019-05-07 11:52:35.885597934 +0200
|
|
|
acdedc |
@@ -141,22 +141,23 @@ our @tests = (
|
|
|
acdedc |
{
|
|
|
acdedc |
name => "ECDSA with brainpool",
|
|
|
acdedc |
server => {
|
|
|
acdedc |
- "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
|
|
|
acdedc |
- "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
|
|
|
acdedc |
- "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
+# "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
|
|
|
acdedc |
+# "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
|
|
|
acdedc |
+# "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
+ "CipherString" => "aNULL",
|
|
|
acdedc |
},
|
|
|
acdedc |
client => {
|
|
|
acdedc |
#We don't restrict this to TLSv1.2, although use of brainpool
|
|
|
acdedc |
#should force this anyway so that this should succeed
|
|
|
acdedc |
"CipherString" => "aECDSA",
|
|
|
acdedc |
"RequestCAFile" => test_pem("root-cert.pem"),
|
|
|
acdedc |
- "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
+# "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
},
|
|
|
acdedc |
test => {
|
|
|
acdedc |
- "ExpectedServerCertType" =>, "brainpoolP256r1",
|
|
|
acdedc |
- "ExpectedServerSignType" =>, "EC",
|
|
|
acdedc |
+# "ExpectedServerCertType" =>, "brainpoolP256r1",
|
|
|
acdedc |
+# "ExpectedServerSignType" =>, "EC",
|
|
|
acdedc |
# Note: certificate_authorities not sent for TLS < 1.3
|
|
|
acdedc |
- "ExpectedServerCANames" =>, "empty",
|
|
|
acdedc |
+# "ExpectedServerCANames" =>, "empty",
|
|
|
acdedc |
"ExpectedResult" => "Success"
|
|
|
acdedc |
},
|
|
|
acdedc |
},
|
|
|
acdedc |
@@ -787,18 +788,19 @@ my @tests_tls_1_3 = (
|
|
|
acdedc |
{
|
|
|
acdedc |
name => "TLS 1.3 ECDSA with brainpool",
|
|
|
acdedc |
server => {
|
|
|
acdedc |
- "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
|
|
|
acdedc |
- "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
|
|
|
acdedc |
- "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
+# "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
|
|
|
acdedc |
+# "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
|
|
|
acdedc |
+# "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
+ "CipherString" => "aNULL",
|
|
|
acdedc |
},
|
|
|
acdedc |
client => {
|
|
|
acdedc |
"RequestCAFile" => test_pem("root-cert.pem"),
|
|
|
acdedc |
- "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
+# "Groups" => "brainpoolP256r1",
|
|
|
acdedc |
"MinProtocol" => "TLSv1.3",
|
|
|
acdedc |
"MaxProtocol" => "TLSv1.3"
|
|
|
acdedc |
},
|
|
|
acdedc |
test => {
|
|
|
acdedc |
- "ExpectedResult" => "ServerFail"
|
|
|
acdedc |
+ "ExpectedResult" => "Success"
|
|
|
acdedc |
},
|
|
|
acdedc |
},
|
|
|
acdedc |
);
|
|
|
acdedc |
diff -up openssl-1.1.1b/test/ssl-tests/20-cert-select.conf.no-brainpool openssl-1.1.1b/test/ssl-tests/20-cert-select.conf
|
|
|
acdedc |
--- openssl-1.1.1b/test/ssl-tests/20-cert-select.conf.no-brainpool 2019-02-26 15:15:30.000000000 +0100
|
|
|
acdedc |
+++ openssl-1.1.1b/test/ssl-tests/20-cert-select.conf 2019-05-07 12:15:12.762907496 +0200
|
|
|
acdedc |
@@ -233,23 +233,18 @@ server = 5-ECDSA with brainpool-server
|
|
|
acdedc |
client = 5-ECDSA with brainpool-client
|
|
|
acdedc |
|
|
|
acdedc |
[5-ECDSA with brainpool-server]
|
|
|
acdedc |
-Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
|
|
|
acdedc |
-CipherString = DEFAULT
|
|
|
acdedc |
-Groups = brainpoolP256r1
|
|
|
acdedc |
-PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
|
|
|
acdedc |
+Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
acdedc |
+CipherString = aNULL
|
|
|
acdedc |
+PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
acdedc |
|
|
|
acdedc |
[5-ECDSA with brainpool-client]
|
|
|
acdedc |
CipherString = aECDSA
|
|
|
acdedc |
-Groups = brainpoolP256r1
|
|
|
acdedc |
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
acdedc |
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
acdedc |
VerifyMode = Peer
|
|
|
acdedc |
|
|
|
acdedc |
[test-5]
|
|
|
acdedc |
ExpectedResult = Success
|
|
|
acdedc |
-ExpectedServerCANames = empty
|
|
|
acdedc |
-ExpectedServerCertType = brainpoolP256r1
|
|
|
acdedc |
-ExpectedServerSignType = EC
|
|
|
acdedc |
|
|
|
acdedc |
|
|
|
acdedc |
# ===========================================================
|
|
|
acdedc |
@@ -1577,14 +1572,12 @@ server = 47-TLS 1.3 ECDSA with brainpool
|
|
|
acdedc |
client = 47-TLS 1.3 ECDSA with brainpool-client
|
|
|
acdedc |
|
|
|
acdedc |
[47-TLS 1.3 ECDSA with brainpool-server]
|
|
|
acdedc |
-Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
|
|
|
acdedc |
-CipherString = DEFAULT
|
|
|
acdedc |
-Groups = brainpoolP256r1
|
|
|
acdedc |
-PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
|
|
|
acdedc |
+Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
acdedc |
+CipherString = aNULL
|
|
|
acdedc |
+PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
acdedc |
|
|
|
acdedc |
[47-TLS 1.3 ECDSA with brainpool-client]
|
|
|
acdedc |
CipherString = DEFAULT
|
|
|
acdedc |
-Groups = brainpoolP256r1
|
|
|
acdedc |
MaxProtocol = TLSv1.3
|
|
|
acdedc |
MinProtocol = TLSv1.3
|
|
|
acdedc |
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
acdedc |
@@ -1592,7 +1585,7 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/ro
|
|
|
acdedc |
VerifyMode = Peer
|
|
|
acdedc |
|
|
|
acdedc |
[test-47]
|
|
|
acdedc |
-ExpectedResult = ServerFail
|
|
|
acdedc |
+ExpectedResult = Success
|
|
|
acdedc |
|
|
|
acdedc |
|
|
|
acdedc |
# ===========================================================
|