1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

tls: Fix compile without deprecated OpenSSL APIs

These headers are included implicitly with others when deprecated APIs are enabled.
This commit is contained in:
Rosen Penev 2018-11-08 15:41:44 -08:00 committed by Andy Green
parent 47579b5306
commit c5d6255487

View file

@ -64,6 +64,8 @@
#include <openssl/err.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include <openssl/rsa.h>
#include <openssl/bn.h>
#ifdef LWS_HAVE_OPENSSL_ECDH_H
#include <openssl/ecdh.h>
#endif