coap_openssl.c: Ignore OpenSSL 3.0 deprecated warnings for now

This commit is contained in:
Jon Shallow authored and mrdeep1 committed 2022-10-27 11:48:41 +01:00
1 parent b39e7bb3fc
commit f3b1d54519
1 file changed
+7
+7
View File
@@ -70,6 +70,13 @@
#include <openssl/hmac.h>
#include <openssl/x509v3.h>
#if OPENSSL_VERSION_NUMBER > 0x30000000L
#ifdef __GNUC__
/* Ignore OpenSSL 3.0 deprecated warnings for now */
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#endif /* OPENSSL_VERSION_NUMBER > 0x30000000L */
#ifdef COAP_EPOLL_SUPPORT
# include <sys/epoll.h>
#endif /* COAP_EPOLL_SUPPORT */