summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-11 13:44:35 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-11 13:45:49 -0400
commit12a1ada15853f0cde2839921bf413ba24a741192 (patch)
tree7c65cff1ce333947a201e13c66ed33d5c965b223 /src/tools
parent79267bad654ed39f13e6fb89a5468f23468c3169 (diff)
downloadtor-12a1ada15853f0cde2839921bf413ba24a741192.tar.gz
tor-12a1ada15853f0cde2839921bf413ba24a741192.zip
Move the initialization and cleanup parts of crypto.c
These are now part of crypto_init.c. The openssl-only parts now live in crypto_openssl_mgt.c. I recommend reviewing this patch with -b and --color-moved.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-gencert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c
index ff924152a6..f87283097e 100644
--- a/src/tools/tor-gencert.c
+++ b/src/tools/tor-gencert.c
@@ -14,6 +14,7 @@
#endif
#include "lib/cc/compat_compiler.h"
+#include "lib/crypt_ops/crypto_init.h"
/* Some versions of OpenSSL declare X509_STORE_CTX_set_verify_cb twice in
* x509.h and x509_vfy.h. Suppress the GCC warning so we can build with