summaryrefslogtreecommitdiffstats
path: root/engines/e_ubsec.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-06-17 21:26:36 +0000
committerNils Larsch <nils@openssl.org>2005-06-17 21:26:36 +0000
commitedb0600583efc33840baf52c374882b91c937b05 (patch)
treee4eea9af5e9f9c0a135a30d14003c1e9515a4e4e /engines/e_ubsec.c
parentac86d923fc75f752827c216d5f76f6cabf7fdbf4 (diff)
clear dso pointer in case of an error
PR: 816
Diffstat (limited to 'engines/e_ubsec.c')
-rw-r--r--engines/e_ubsec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/e_ubsec.c b/engines/e_ubsec.c
index 802de40be6..f0e4f736ad 100644
--- a/engines/e_ubsec.c
+++ b/engines/e_ubsec.c
@@ -463,6 +463,7 @@ static int ubsec_init(ENGINE *e)
err:
if(ubsec_dso)
DSO_free(ubsec_dso);
+ ubsec_dso = NULL;
p_UBSEC_ubsec_bytes_to_bits = NULL;
p_UBSEC_ubsec_bits_to_bytes = NULL;
p_UBSEC_ubsec_open = NULL;