diff options
author | Armin Fuerst <armin@fuerst.priv.at> | 2021-03-08 21:14:50 +0100 |
---|---|---|
committer | Armin Fuerst <armin@fuerst.priv.at> | 2021-03-08 21:14:50 +0100 |
commit | 31e2e6e0b1f0f9ab88b9625f841e268766b598d0 (patch) | |
tree | 89f7de253eee221469454cde3b202d12403f68ca /test | |
parent | 9afc6c54314f94c0dcb4168d01554497bfaeae4f (diff) |
fake_rand_finish should be called if "OPENSSL_NO_SM2" is NOT defined
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14471)
Diffstat (limited to 'test')
-rw-r--r-- | test/sm2_internal_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |