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