summaryrefslogtreecommitdiff
path: root/src/socket.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-04-04 20:13:11 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-01 12:58:23 +0200
commitabe6a12b9766219163f99d7807a0b07fbe5f590c (patch)
treed6ae3a7993290b2fa9d688cdf5be1f738be2b612 /src/socket.c
parent8f981f0373fd3484659a5b0452306d01e13fc26d (diff)
downloadgnutls-abe6a12b9766219163f99d7807a0b07fbe5f590c.tar.gz
Removed support for libidn1
Currently we support both IDNA2003 and IDNA2008. However, IDNA2003 is already obsolete by registrars and NICs, thus there is no reason to continue supporting it. We switch to IDNA2008 exclusively using libidn2. Resolves #194 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'src/socket.c')
-rw-r--r--src/socket.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/socket.c b/src/socket.c
index 626066e0fe..223df5177f 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -43,13 +43,6 @@
#include <c-ctype.h>
#include "sockets.h"
-#ifdef HAVE_LIBIDN2
-#include <idn2.h>
-#elif defined HAVE_LIBIDN
-#include <idna.h>
-#include <idn-free.h>
-#endif
-
#define MAX_BUF 4096
/* Functions to manipulate sockets