aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-05-17 13:19:14 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-05-17 13:19:14 +0200
commit080f3893fffe623d83a2e9f2048870415b4a80bd (patch)
treea32c7bb502f688439e5a1fc6afb48bab964c8eeb /src/util
parent9772c51f8450e3432e06b2562a9c62b07eea1d04 (diff)
downloadgnunet-080f3893fffe623d83a2e9f2048870415b4a80bd.tar.gz
gnunet-080f3893fffe623d83a2e9f2048870415b4a80bd.zip
revert check for @; this does not seem right for names starting with it
Diffstat (limited to 'src/util')
-rw-r--r--src/util/dnsparser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/util/dnsparser.c b/src/util/dnsparser.c
index 0e830170e..699f9d592 100644
--- a/src/util/dnsparser.c
+++ b/src/util/dnsparser.c
@@ -60,9 +60,6 @@ GNUNET_DNSPARSER_check_label (const char *label)
60 60
61 if (NULL != strchr (label, '.')) 61 if (NULL != strchr (label, '.'))
62 return GNUNET_SYSERR; /* not a label! Did you mean GNUNET_DNSPARSER_check_name? */ 62 return GNUNET_SYSERR; /* not a label! Did you mean GNUNET_DNSPARSER_check_name? */
63 if (0 == strcmp (label, "@"))
64 return GNUNET_SYSERR; /* '@' is reserved for the empty label,
65 see #GNUNET_GNS_EMPTY_LABEL_AT */
66 if (IDNA_SUCCESS != idna_to_ascii_8z (label, &output, IDNA_ALLOW_UNASSIGNED)) 63 if (IDNA_SUCCESS != idna_to_ascii_8z (label, &output, IDNA_ALLOW_UNASSIGNED))
67 return GNUNET_SYSERR; 64 return GNUNET_SYSERR;
68 slen = strlen (output); 65 slen = strlen (output);