summaryrefslogtreecommitdiff
path: root/dns.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-09-01 05:53:56 +0000
committerDamien Miller <djm@mindrot.org>2017-09-04 09:38:57 +1000
commitb828605d51f57851316d7ba402b4ae06cf37c55d (patch)
treecec2c9c32c860e87c7a643aea1abd6c587dcd5de /dns.h
parent8042bad97e2789a50e8f742c3bcd665ebf0add32 (diff)
upstream commit
identify the case where SSHFP records are missing but other DNS RR types are present and display a more useful error message for this case; patch by Thordur Bjornsson; bz#2501; ok dtucker@ Upstream-ID: 8f7a5a8344f684823d8317a9708b63e75be2c244
Diffstat (limited to 'dns.h')
-rw-r--r--dns.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dns.h b/dns.h
index 30e2b19b3..6bb8c7933 100644
--- a/dns.h
+++ b/dns.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dns.h,v 1.15 2015/05/08 06:45:13 djm Exp $ */ 1/* $OpenBSD: dns.h,v 1.16 2017/09/01 05:53:56 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2003 Wesley Griffin. All rights reserved. 4 * Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -49,6 +49,7 @@ enum sshfp_hashes {
49#define DNS_VERIFY_FOUND 0x00000001 49#define DNS_VERIFY_FOUND 0x00000001
50#define DNS_VERIFY_MATCH 0x00000002 50#define DNS_VERIFY_MATCH 0x00000002
51#define DNS_VERIFY_SECURE 0x00000004 51#define DNS_VERIFY_SECURE 0x00000004
52#define DNS_VERIFY_MISSING 0x00000008
52 53
53int verify_host_key_dns(const char *, struct sockaddr *, 54int verify_host_key_dns(const char *, struct sockaddr *,
54 struct sshkey *, int *); 55 struct sshkey *, int *);