diff options
author | jsing <> | 2023-03-11 14:27:38 +0000 |
---|---|---|
committer | jsing <> | 2023-03-11 14:27:38 +0000 |
commit | dc99b7bc63ea20c2cb5dd357cddbd820b6ff05d8 (patch) | |
tree | a7e4a41c204bbd95b5189489a6cb046118b35ef0 /src/regress/lib/libcrypto/evp/evp_test.c | |
parent | 59b001c526ef4e52cd2839197c67232fdbe58557 (diff) | |
download | openbsd-dc99b7bc63ea20c2cb5dd357cddbd820b6ff05d8.tar.gz openbsd-dc99b7bc63ea20c2cb5dd357cddbd820b6ff05d8.tar.bz2 openbsd-dc99b7bc63ea20c2cb5dd357cddbd820b6ff05d8.zip |
Add OPENSSL_cleanup() calls to some regress.
This gets us some minimal test coverage.
Diffstat (limited to 'src/regress/lib/libcrypto/evp/evp_test.c')
-rw-r--r-- | src/regress/lib/libcrypto/evp/evp_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/evp/evp_test.c b/src/regress/lib/libcrypto/evp/evp_test.c index dbfe442377..4a671d978d 100644 --- a/src/regress/lib/libcrypto/evp/evp_test.c +++ b/src/regress/lib/libcrypto/evp/evp_test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp_test.c,v 1.3 2022/11/26 16:08:56 tb Exp $ */ | 1 | /* $OpenBSD: evp_test.c,v 1.4 2023/03/11 14:27:38 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -145,5 +145,7 @@ main(int argc, char **argv) | |||
145 | failed |= evp_asn1_method_test(); | 145 | failed |= evp_asn1_method_test(); |
146 | failed |= evp_pkey_method_test(); | 146 | failed |= evp_pkey_method_test(); |
147 | 147 | ||
148 | OPENSSL_cleanup(); | ||
149 | |||
148 | return failed; | 150 | return failed; |
149 | } | 151 | } |