mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-03 00:15:49 +03:00
coap_openssl.c: Ignore OpenSSL 3.0 deprecated warnings for now
This commit is contained in:
1 parent
b39e7bb3fc
commit
f3b1d54519
1 file changed
+7
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user