tlslib: define DTLS1_2 when needed

This commit is contained in:
Nikos Mavrogiannopoulos
2015-03-31 13:37:43 +02:00
parent 9ab82246de
commit a9d562064a
2 changed files with 4 additions and 3 deletions

View File

@@ -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;