Fix compilation without deprecated APIs in OpenSSL

Added a few implicit headers that don't get included anymore and switched
to OpenSSL 1.0.0's THREAD API when supported.

Close #1615
This commit is contained in:
Rosen Penev authored and Alexey Sokolov committed 2018-11-10 18:04:03 +00:00
1 parent a31df2474b
commit dddcef52b9
3 files changed
+13

No files matched your search

+2
View File
@@ -27,6 +27,8 @@
#include <znc/Message.h>
#ifdef HAVE_LIBSSL
#include <openssl/ssl.h>
#include <openssl/bn.h>
#include <openssl/rsa.h>
#endif /* HAVE_LIBSSL */
#include <memory>
#include <unistd.h>