projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f3435
)
If initialisation fails for any reason, the global function pointers
author
Geoff Thorpe
<geoff@openssl.org>
Wed, 14 Jun 2000 13:24:37 +0000
(13:24 +0000)
committer
Geoff Thorpe
<geoff@openssl.org>
Wed, 14 Jun 2000 13:24:37 +0000
(13:24 +0000)
should be NULL'd out.
crypto/engine/hw_cswift.c
patch
|
blob
|
history
diff --git
a/crypto/engine/hw_cswift.c
b/crypto/engine/hw_cswift.c
index d0fa7635cca468c26f5b0574878ae7eca7bdf44d..c36642c18192246299427700aa3da204c90125f2 100644
(file)
--- a/
crypto/engine/hw_cswift.c
+++ b/
crypto/engine/hw_cswift.c
@@
-289,6
+289,10
@@
static int cswift_init()
err:
if(cswift_dso)
DSO_free(cswift_dso);
+ p_CSwift_AcquireAccContext = NULL;
+ p_CSwift_AttachKeyParam = NULL;
+ p_CSwift_SimpleRequest = NULL;
+ p_CSwift_ReleaseAccContext = NULL;
return 0;
}