summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/gethostnamadr.c
diff options
context:
space:
mode:
authorjakob <>2007-10-11 18:36:41 +0000
committerjakob <>2007-10-11 18:36:41 +0000
commit115b8b7d4830ff4c5f4180f7d64cd57307f5f909 (patch)
tree462aa016167755635ce692cc1a4ed1c5f78e35d2 /src/lib/libc/net/gethostnamadr.c
parentbd1e03a2e6753a3548e4e72197b9ca31041d113a (diff)
downloadopenbsd-115b8b7d4830ff4c5f4180f7d64cd57307f5f909.tar.gz
openbsd-115b8b7d4830ff4c5f4180f7d64cd57307f5f909.tar.bz2
openbsd-115b8b7d4830ff4c5f4180f7d64cd57307f5f909.zip
use RRSIG instead of SIG for DNSSEC. ok djm@
Diffstat (limited to 'src/lib/libc/net/gethostnamadr.c')
-rw-r--r--src/lib/libc/net/gethostnamadr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/net/gethostnamadr.c b/src/lib/libc/net/gethostnamadr.c
index 66d7e5ccd4..d49b9cdd7d 100644
--- a/src/lib/libc/net/gethostnamadr.c
+++ b/src/lib/libc/net/gethostnamadr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gethostnamadr.c,v 1.71 2007/05/16 04:14:23 ray Exp $ */ 1/* $OpenBSD: gethostnamadr.c,v 1.72 2007/10/11 18:36:41 jakob Exp $ */
2/*- 2/*-
3 * Copyright (c) 1985, 1988, 1993 3 * Copyright (c) 1985, 1988, 1993
4 * The Regents of the University of California. All rights reserved. 4 * The Regents of the University of California. All rights reserved.
@@ -238,7 +238,7 @@ getanswer(const querybuf *answer, int anslen, const char *qname, int qtype)
238 cp += INT16SZ; /* len */ 238 cp += INT16SZ; /* len */
239 if (cp >= eom) 239 if (cp >= eom)
240 break; 240 break;
241 if (type == T_SIG) { 241 if (type == T_SIG || type == T_RRSIG) {
242 /* XXX - ignore signatures as we don't use them yet */ 242 /* XXX - ignore signatures as we don't use them yet */
243 cp += n; 243 cp += n;
244 continue; 244 continue;