projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877d3b5
)
Don't call OPENSSL_cleanup().
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 21 Jul 2021 09:54:34 +0000
(11:54 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 21 Jul 2021 09:54:34 +0000
(11:54 +0200)
Some versions of LibreSSL don't have this function, even if they support
the rest of the OpenSSL 1.1 API. It also doesn't seem to affect the
output of Valgrind, so it looks like it's not necessary at all.
src/openssl/crypto.c
patch
|
blob
|
history
diff --git
a/src/openssl/crypto.c
b/src/openssl/crypto.c
index
7e020e6
..
bf9fe08
100644
(file)
--- a/
src/openssl/crypto.c
+++ b/
src/openssl/crypto.c
@@
-20,7
+20,6
@@
#include "../system.h"
#include <openssl/rand.h>
-#include <openssl/evp.h>
#include <openssl/engine.h>
#include "../crypto.h"
@@
-103,6
+102,5
@@
void crypto_init(void) {
}
void crypto_exit(void) {
- OPENSSL_cleanup();
random_exit();
}