mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-13 11:50:40 +03:00
gnutls: GNUTLS_CRT_RAW not defined
Old version of GnuTLS, used in Raspbian, contains no definition for GNUTLS_CRT_RAW. This patch fixes build error: `error: ‘GNUTLS_CRT_RAW’ undeclared` Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com>
This commit is contained in:
1 parent
208a2e8b9a
commit
482be755fe
1 file changed
+4
@@ -68,6 +68,10 @@
|
||||
GNUTLS_KEY_KEY_CERT_SIGN
|
||||
#endif /* GNUTLS_VERSION_NUMBER >= 0x030606 */
|
||||
|
||||
#ifndef GNUTLS_CRT_RAW
|
||||
#define GNUTLS_CRT_RAW GNUTLS_CRT_RAWPK
|
||||
#endif /* GNUTLS_CRT_RAW */
|
||||
|
||||
#ifdef _WIN32
|
||||
#define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user