mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
tlslib: define DTLS1_2 when needed
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
#include <ccan/htable/htable.h>
|
||||
#include <errno.h>
|
||||
|
||||
# if GNUTLS_VERSION_NUMBER < 0x030200
|
||||
# define GNUTLS_DTLS1_2 202
|
||||
# endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
struct htable *ht;
|
||||
|
||||
Reference in New Issue
Block a user