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

openssl: avoid warning on versions with ECDH header

This commit is contained in:
Andy Green 2018-03-08 07:49:10 +08:00
parent cb70b6e633
commit dc15a77dfa

View file

@ -316,7 +316,7 @@ check_key:
#else
lwsl_notice(" OpenSSL doesn't support ECDH\n");
#endif
#if !defined(LWS_WITH_BORINGSSL)
#if defined(LWS_HAVE_OPENSSL_ECDH_H) && !defined(LWS_WITH_BORINGSSL)
post_ecdh:
#endif
vhost->skipped_certs = 0;