[openssl] openssl-3.0 update

Matt Caswell matt at openssl.org
Mon Oct 25 10:12:21 UTC 2021


The branch openssl-3.0 has been updated
       via  c94931e636b4a16c01d5f93cff08386e4ba43b11 (commit)
      from  ea7a9084e4cb081240fab6fb4f2374b538dc14ec (commit)


- Log -----------------------------------------------------------------
commit c94931e636b4a16c01d5f93cff08386e4ba43b11
Author: Matt Caswell <matt at openssl.org>
Date:   Fri Oct 22 16:09:44 2021 +0100

    Fix no-cmac
    
    Reviewed-by: Bernd Edlinger <bernd.edlinger at hotmail.de>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/16894)
    
    (cherry picked from commit ef2fb64f9dfde1965cb0b8a5f8765c4f467c1604)

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

Summary of changes:
 test/evp_extra_test.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/evp_extra_test.c b/test/evp_extra_test.c
index b241387b5e..2c604daae9 100644
--- a/test/evp_extra_test.c
+++ b/test/evp_extra_test.c
@@ -3988,6 +3988,12 @@ static int test_signatures_with_engine(int tst)
     size_t maclen = 0;
     int ret;
 
+#  ifdef OPENSSL_NO_CMAC
+    /* Skip CMAC tests in a no-cmac build */
+    if (tst <= 1)
+        return 1;
+#  endif
+
     if (!TEST_ptr(e = ENGINE_by_id(engine_id)))
         return 0;
 


More information about the openssl-commits mailing list