Merge pull request #9 from neheb/patch-1

Fix compilation without deprecated OpenSSL APIs (<=1.0.2)
This commit is contained in:
conserver.com 2019-01-06 17:28:35 -08:00 committed by GitHub
commit 123cecc122

View File

@ -7,6 +7,8 @@
#include <stdarg.h>
#if HAVE_OPENSSL
# include <openssl/ssl.h>
# include <openssl/bn.h>
# include <openssl/dh.h>
# include <openssl/err.h>
# if OPENSSL_VERSION_NUMBER < 0x10100000L
# define TLS_method SSLv23_method