diff options
author | tb <> | 2018-05-15 07:11:31 +0000 |
---|---|---|
committer | tb <> | 2018-05-15 07:11:31 +0000 |
commit | a229f3895c857bfa7c6c0bebf3cae12806de02a5 (patch) | |
tree | 29c0a81c8228fde2616dff7d1c3196ece03deda5 /src | |
parent | b3d4288ed7662d868a85dc5347deafbd4f5c2439 (diff) | |
download | openbsd-a229f3895c857bfa7c6c0bebf3cae12806de02a5.tar.gz openbsd-a229f3895c857bfa7c6c0bebf3cae12806de02a5.tar.bz2 openbsd-a229f3895c857bfa7c6c0bebf3cae12806de02a5.zip |
Test DSO_free(NULL).
Diffstat (limited to '')
-rw-r--r-- | src/regress/lib/libcrypto/free/freenull.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/free/freenull.c b/src/regress/lib/libcrypto/free/freenull.c index 565f1f80cc..2735e7f759 100644 --- a/src/regress/lib/libcrypto/free/freenull.c +++ b/src/regress/lib/libcrypto/free/freenull.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: freenull.c,v 1.12 2018/05/15 07:08:16 tb Exp $ */ | 1 | /* $OpenBSD: freenull.c,v 1.13 2018/05/15 07:11:31 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2017 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2017 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -19,6 +19,7 @@ | |||
19 | #include <openssl/cmac.h> | 19 | #include <openssl/cmac.h> |
20 | #include <openssl/comp.h> | 20 | #include <openssl/comp.h> |
21 | #include <openssl/conf_api.h> | 21 | #include <openssl/conf_api.h> |
22 | #include <openssl/dso.h> | ||
22 | #ifndef OPENSSL_NO_ENGINE | 23 | #ifndef OPENSSL_NO_ENGINE |
23 | #include <openssl/engine.h> | 24 | #include <openssl/engine.h> |
24 | #endif | 25 | #endif |
@@ -89,6 +90,7 @@ main(int argc, char **argv) | |||
89 | DSA_SIG_free(NULL); | 90 | DSA_SIG_free(NULL); |
90 | DSA_free(NULL); | 91 | DSA_free(NULL); |
91 | DSA_meth_free(NULL); | 92 | DSA_meth_free(NULL); |
93 | DSO_free(NULL); | ||
92 | ECDSA_SIG_free(NULL); | 94 | ECDSA_SIG_free(NULL); |
93 | EC_GROUP_clear_free(NULL); | 95 | EC_GROUP_clear_free(NULL); |
94 | EC_GROUP_free(NULL); | 96 | EC_GROUP_free(NULL); |