Blame SOURCES/openssl-1.1.1-no-brainpool.patch

0bf02d
diff -up openssl-1.1.1d/test/ssl-tests/20-cert-select.conf.in.no-brainpool openssl-1.1.1d/test/ssl-tests/20-cert-select.conf.in
0bf02d
--- openssl-1.1.1d/test/ssl-tests/20-cert-select.conf.in.no-brainpool	2019-09-10 15:13:07.000000000 +0200
0bf02d
+++ openssl-1.1.1d/test/ssl-tests/20-cert-select.conf.in	2019-09-13 15:11:07.358687169 +0200
0bf02d
@@ -147,22 +147,22 @@ our @tests = (
0bf02d
     {
0bf02d
         name => "ECDSA with brainpool",
0bf02d
         server =>  {
0bf02d
-            "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
0bf02d
-            "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
0bf02d
-            "Groups" => "brainpoolP256r1",
0bf02d
+            "Certificate" => test_pem("server-ecdsa-cert.pem"),
0bf02d
+            "PrivateKey" => test_pem("server-ecdsa-key.pem"),
0bf02d
+#            "Groups" => "brainpoolP256r1",
0bf02d
         },
0bf02d
         client => {
0bf02d
             #We don't restrict this to TLSv1.2, although use of brainpool
0bf02d
             #should force this anyway so that this should succeed
0bf02d
             "CipherString" => "aECDSA",
0bf02d
             "RequestCAFile" => test_pem("root-cert.pem"),
0bf02d
-            "Groups" => "brainpoolP256r1",
0bf02d
+#            "Groups" => "brainpoolP256r1",
0bf02d
         },
0bf02d
         test   => {
0bf02d
-            "ExpectedServerCertType" =>, "brainpoolP256r1",
0bf02d
-            "ExpectedServerSignType" =>, "EC",
0bf02d
+#            "ExpectedServerCertType" =>, "brainpoolP256r1",
0bf02d
+#            "ExpectedServerSignType" =>, "EC",
0bf02d
             # Note: certificate_authorities not sent for TLS < 1.3
0bf02d
-            "ExpectedServerCANames" =>, "empty",
0bf02d
+#            "ExpectedServerCANames" =>, "empty",
0bf02d
             "ExpectedResult" => "Success"
0bf02d
         },
0bf02d
     },
0bf02d
@@ -853,18 +853,18 @@ my @tests_tls_1_3 = (
0bf02d
     {
0bf02d
         name => "TLS 1.3 ECDSA with brainpool",
0bf02d
         server =>  {
0bf02d
-            "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
0bf02d
-            "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
0bf02d
-            "Groups" => "brainpoolP256r1",
0bf02d
+            "Certificate" => test_pem("server-ecdsa-cert.pem"),
0bf02d
+            "PrivateKey" => test_pem("server-ecdsa-key.pem"),
0bf02d
+#            "Groups" => "brainpoolP256r1",
0bf02d
         },
0bf02d
         client => {
0bf02d
             "RequestCAFile" => test_pem("root-cert.pem"),
0bf02d
-            "Groups" => "brainpoolP256r1",
0bf02d
+#            "Groups" => "brainpoolP256r1",
0bf02d
             "MinProtocol" => "TLSv1.3",
0bf02d
             "MaxProtocol" => "TLSv1.3"
0bf02d
         },
0bf02d
         test   => {
0bf02d
-            "ExpectedResult" => "ServerFail"
0bf02d
+            "ExpectedResult" => "Success"
0bf02d
         },
0bf02d
     },
0bf02d
 );
0bf02d
diff -up openssl-1.1.1d/test/ssl-tests/20-cert-select.conf.no-brainpool openssl-1.1.1d/test/ssl-tests/20-cert-select.conf
0bf02d
--- openssl-1.1.1d/test/ssl-tests/20-cert-select.conf.no-brainpool	2019-09-10 15:13:07.000000000 +0200
0bf02d
+++ openssl-1.1.1d/test/ssl-tests/20-cert-select.conf	2019-09-13 15:12:27.380288469 +0200
0bf02d
@@ -238,23 +238,18 @@ server = 5-ECDSA with brainpool-server
0bf02d
 client = 5-ECDSA with brainpool-client
0bf02d
 
0bf02d
 [5-ECDSA with brainpool-server]
0bf02d
-Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
0bf02d
+Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
0bf02d
 CipherString = DEFAULT
0bf02d
-Groups = brainpoolP256r1
0bf02d
-PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
0bf02d
+PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
0bf02d
 
0bf02d
 [5-ECDSA with brainpool-client]
0bf02d
 CipherString = aECDSA
0bf02d
-Groups = brainpoolP256r1
0bf02d
 RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
0bf02d
 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
0bf02d
 VerifyMode = Peer
0bf02d
 
0bf02d
 [test-5]
0bf02d
 ExpectedResult = Success
0bf02d
-ExpectedServerCANames = empty
0bf02d
-ExpectedServerCertType = brainpoolP256r1
0bf02d
-ExpectedServerSignType = EC
0bf02d
 
0bf02d
 
0bf02d
 # ===========================================================
0bf02d
@@ -1713,14 +1708,12 @@ server = 52-TLS 1.3 ECDSA with brainpool
0bf02d
 client = 52-TLS 1.3 ECDSA with brainpool-client
0bf02d
 
0bf02d
 [52-TLS 1.3 ECDSA with brainpool-server]
0bf02d
-Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
0bf02d
+Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
0bf02d
 CipherString = DEFAULT
0bf02d
-Groups = brainpoolP256r1
0bf02d
-PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
0bf02d
+PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
0bf02d
 
0bf02d
 [52-TLS 1.3 ECDSA with brainpool-client]
0bf02d
 CipherString = DEFAULT
0bf02d
-Groups = brainpoolP256r1
0bf02d
 MaxProtocol = TLSv1.3
0bf02d
 MinProtocol = TLSv1.3
0bf02d
 RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
0bf02d
@@ -1728,7 +1721,7 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/ro
0bf02d
 VerifyMode = Peer
0bf02d
 
0bf02d
 [test-52]
0bf02d
-ExpectedResult = ServerFail
0bf02d
+ExpectedResult = Success
0bf02d
 
0bf02d
 
0bf02d
 # ===========================================================