mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-11 03:10:40 +03:00
src/coap_notls.c: Include ignoring GnuTLS builds
This commit is contained in:
1 parent
11de84bcc7
commit
d144a1d5b0
1 file changed
+3
-3
+3
-3
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "coap_config.h"
|
||||
|
||||
#if !defined(HAVE_LIBTINYDTLS) && !defined(HAVE_OPENSSL)
|
||||
#if !defined(HAVE_LIBTINYDTLS) && !defined(HAVE_OPENSSL) && !defined(HAVE_LIBGNUTLS)
|
||||
|
||||
#include "net.h"
|
||||
|
||||
@@ -175,7 +175,7 @@ ssize_t coap_tls_read(coap_session_t *session UNUSED,
|
||||
|
||||
#undef UNUSED
|
||||
|
||||
#else /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL */
|
||||
#else /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL && !HAVE_LIBGNUTLS */
|
||||
|
||||
#ifdef __clang__
|
||||
/* Make compilers happy that do not like empty modules. As this function is
|
||||
@@ -186,4 +186,4 @@ ssize_t coap_tls_read(coap_session_t *session UNUSED,
|
||||
static inline void dummy(void) {
|
||||
}
|
||||
|
||||
#endif /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL */
|
||||
#endif /* !HAVE_LIBTINYDTLS && !HAVE_OPENSSL && !HAVE_LIBGNUTLS */
|
||||
Reference in new issue
Block a user