summaryrefslogtreecommitdiffstats
path: root/engines/e_atalla.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-06-17 21:27:28 +0000
committerNils Larsch <nils@openssl.org>2005-06-17 21:27:28 +0000
commit3000bdcc3aff9032eb9adad88ec289c624d8a256 (patch)
tree9559b46ecc515665e730ad591533705bb3fbf878 /engines/e_atalla.c
parentcbe77a6753ce782a8b85c272ea2951a19354740c (diff)
downloadopenssl-3000bdcc3aff9032eb9adad88ec289c624d8a256.tar.gz
clear dso pointer in case of an error
PR: 816
Diffstat (limited to 'engines/e_atalla.c')
-rw-r--r--engines/e_atalla.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/e_atalla.c b/engines/e_atalla.c
index a5cf6aa885..8e11048d05 100644
--- a/engines/e_atalla.c
+++ b/engines/e_atalla.c
@@ -384,6 +384,7 @@ static int atalla_init(ENGINE *e)
err:
if(atalla_dso)
DSO_free(atalla_dso);
+ atalla_dso = NULL;
p_Atalla_GetHardwareConfig = NULL;
p_Atalla_RSAPrivateKeyOpFn = NULL;
p_Atalla_GetPerformanceStatistics = NULL;