[openssl] OpenSSL_1_1_1-stable update

tmraz at fedoraproject.org tmraz at fedoraproject.org
Wed Jan 20 16:13:17 UTC 2021


The branch OpenSSL_1_1_1-stable has been updated
       via  69b3a65adeb1a997b1d5c7f28cda45c543de956d (commit)
      from  a83690c0b61e342f35a9583868b74e7ff6023101 (commit)


- Log -----------------------------------------------------------------
commit 69b3a65adeb1a997b1d5c7f28cda45c543de956d
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Tue Jan 19 14:56:16 2021 +0100

    Fix regression in no-deprecated build
    
    Also add a new no-deprecated CI build to test it.
    
    Fixes #13896
    
    Reviewed-by: David von Oheimb <david.von.oheimb at siemens.com>
    (Merged from https://github.com/openssl/openssl/pull/13902)

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/ci.yml | 11 +++++++++++
 test/verify_extra_test.c |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a4565e5499..ce40b5104a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -70,6 +70,17 @@ jobs:
       - name: make test
         run: make test
 
+  no-deprecated:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout at v2
+      - name: config
+        run: ./config --strict-warnings no-deprecated && perl configdata.pm --dump
+      - name: make
+        run: make -s -j4
+      - name: make test
+        run: make test
+
   sanitizers:
     runs-on: ubuntu-latest
     steps:
diff --git a/test/verify_extra_test.c b/test/verify_extra_test.c
index 94faa4c78b..18f785ab8b 100644
--- a/test/verify_extra_test.c
+++ b/test/verify_extra_test.c
@@ -200,7 +200,7 @@ static int test_self_signed(const char *filename, int expected)
     ret = TEST_ptr(cert)
         && TEST_true(sk_X509_push(trusted, cert))
         && TEST_true(X509_STORE_CTX_init(ctx, NULL, cert, NULL));
-    X509_STORE_CTX_trusted_stack(ctx, trusted);
+    X509_STORE_CTX_set0_trusted_stack(ctx, trusted);
     ret = ret && TEST_int_eq(X509_verify_cert(ctx), expected);
 
     X509_STORE_CTX_free(ctx);


More information about the openssl-commits mailing list