summaryrefslogtreecommitdiff
path: root/sbin/unwind/libunbound/sldns
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2019-09-12 08:14:27 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2019-09-12 08:14:27 +0000
commitcdd78b5d4dc581ea298f7e14e7b2403c27de216f (patch)
tree76a199f1f15148ddcfb85413ab1401b16d5f66ab /sbin/unwind/libunbound/sldns
parentfdd053ee6e3ed8c86bb0e45daf13a69f1cf5a738 (diff)
Update to libunbound 1.9.3
Heavy lifting by sthen with updating in-tree unbound(8)
Diffstat (limited to 'sbin/unwind/libunbound/sldns')
-rw-r--r--sbin/unwind/libunbound/sldns/str2wire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/unwind/libunbound/sldns/str2wire.c b/sbin/unwind/libunbound/sldns/str2wire.c
index 1a51bb69560..097f621017f 100644
--- a/sbin/unwind/libunbound/sldns/str2wire.c
+++ b/sbin/unwind/libunbound/sldns/str2wire.c
@@ -187,7 +187,7 @@ rrinternal_get_owner(sldns_buffer* strbuf, uint8_t* rr, size_t* len,
sldns_buffer_position(strbuf));
}
- if(strcmp(token, "@") == 0) {
+ if(token[0]=='@' && token[1]=='\0') {
uint8_t* tocopy;
if (origin) {
*dname_len = origin_len;