summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-05-15 07:11:32 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-05-15 07:11:32 +0000
commit1cb626f394cc1e5d7e7c56c8c8d42d7957bcffd1 (patch)
tree2ec6cd885ce4a4f62492ce54ee4dc188e4d3b0c9 /regress
parentaf33bcc7b3da47091baeee7eaa76defe48b2307b (diff)
Test DSO_free(NULL).
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/free/freenull.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/free/freenull.c b/regress/lib/libcrypto/free/freenull.c
index 565f1f80cc8..2735e7f7599 100644
--- a/regress/lib/libcrypto/free/freenull.c
+++ b/regress/lib/libcrypto/free/freenull.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: freenull.c,v 1.12 2018/05/15 07:08:16 tb Exp $ */
+/* $OpenBSD: freenull.c,v 1.13 2018/05/15 07:11:31 tb Exp $ */
/*
* Copyright (c) 2017 Bob Beck <beck@openbsd.org>
*
@@ -19,6 +19,7 @@
#include <openssl/cmac.h>
#include <openssl/comp.h>
#include <openssl/conf_api.h>
+#include <openssl/dso.h>
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
@@ -89,6 +90,7 @@ main(int argc, char **argv)
DSA_SIG_free(NULL);
DSA_free(NULL);
DSA_meth_free(NULL);
+ DSO_free(NULL);
ECDSA_SIG_free(NULL);
EC_GROUP_clear_free(NULL);
EC_GROUP_free(NULL);