projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9772c51
)
revert check for @; this does not seem right for names starting with it
author
Schanzenbach, Martin
<mschanzenbach@posteo.de>
Fri, 17 May 2019 11:19:14 +0000
(13:19 +0200)
committer
Schanzenbach, Martin
<mschanzenbach@posteo.de>
Fri, 17 May 2019 11:19:14 +0000
(13:19 +0200)
src/util/dnsparser.c
patch
|
blob
|
history
diff --git
a/src/util/dnsparser.c
b/src/util/dnsparser.c
index 0e830170ec7351e704e2781ae6736717227b1b4f..699f9d59292a52a1355a0021585d9cf9f396c6b8 100644
(file)
--- a/
src/util/dnsparser.c
+++ b/
src/util/dnsparser.c
@@
-60,9
+60,6
@@
GNUNET_DNSPARSER_check_label (const char *label)
if (NULL != strchr (label, '.'))
return GNUNET_SYSERR; /* not a label! Did you mean GNUNET_DNSPARSER_check_name? */
- if (0 == strcmp (label, "@"))
- return GNUNET_SYSERR; /* '@' is reserved for the empty label,
- see #GNUNET_GNS_EMPTY_LABEL_AT */
if (IDNA_SUCCESS != idna_to_ascii_8z (label, &output, IDNA_ALLOW_UNASSIGNED))
return GNUNET_SYSERR;
slen = strlen (output);