1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

Disable deprecated warnings for OpenSSL 3 #805 (#806)

Disable deprecated warnings (for now) when building against OpenSSL 3 for a clean build.

Reported:
Daniel Stenberg
This commit is contained in:
Will Cosgrove
2023-02-27 11:46:47 -08:00
committed by GitHub
parent d8220ddbff
commit 45d33da3c7

View File

@@ -39,6 +39,9 @@
* OF SUCH DAMAGE.
*/
/* disable deprecated warnings in OpenSSL 3 */
#define OPENSSL_SUPPRESS_DEPRECATED
#ifdef LIBSSH2_WOLFSSL
#include <wolfssl/options.h>