projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypt: Introduce crypt_shutdown().
[paraslash.git]
/
openssl.c
diff --git
a/openssl.c
b/openssl.c
index 70a13aaab0b40339e3f042566a555c266375ad00..7d5bb25d53cf73009803fe0e62ca15d0167a05cb 100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-55,6
+55,11
@@
void crypt_init(void)
srandom(seed);
}
+void crypt_shutdown(void)
+{
+ CRYPTO_cleanup_all_ex_data();
+}
+
static int get_private_key(const char *path, RSA **rsa)
{
EVP_PKEY *pkey;