[openssl] master update

Dr. Paul Dale pauli at openssl.org
Tue Mar 9 00:27:01 UTC 2021


The branch master has been updated
       via  31e2e6e0b1f0f9ab88b9625f841e268766b598d0 (commit)
      from  9afc6c54314f94c0dcb4168d01554497bfaeae4f (commit)


- Log -----------------------------------------------------------------
commit 31e2e6e0b1f0f9ab88b9625f841e268766b598d0
Author: Armin Fuerst <armin at fuerst.priv.at>
Date:   Mon Mar 8 21:14:50 2021 +0100

    fake_rand_finish should be called if "OPENSSL_NO_SM2" is NOT defined
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/14471)

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

Summary of changes:
 test/sm2_internal_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/sm2_internal_test.c b/test/sm2_internal_test.c
index 6b80611dd2..72a7baaeff 100644
--- a/test/sm2_internal_test.c
+++ b/test/sm2_internal_test.c
@@ -381,7 +381,7 @@ int setup_tests(void)
 
 void cleanup_tests(void)
 {
-#ifdef OPENSSL_NO_SM2
+#ifndef OPENSSL_NO_SM2
     fake_rand_finish(fake_rand);
 #endif
 }


More information about the openssl-commits mailing list