mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
committed by
Alexey Sokolov
parent
a31df2474b
commit
dddcef52b9
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user