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)
downloadopenssh-git-b828605d51f57851316d7ba402b4ae06cf37c55d.tar.gz
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 30e2b19b..6bb8c793 100644
--- a/dns.h
+++ b/dns.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dns.h,v 1.15 2015/05/08 06:45:13 djm Exp $ */
+/* $OpenBSD: dns.h,v 1.16 2017/09/01 05:53:56 djm Exp $ */
/*
* Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -49,6 +49,7 @@ enum sshfp_hashes {
#define DNS_VERIFY_FOUND 0x00000001
#define DNS_VERIFY_MATCH 0x00000002
#define DNS_VERIFY_SECURE 0x00000004
+#define DNS_VERIFY_MISSING 0x00000008
int verify_host_key_dns(const char *, struct sockaddr *,
struct sshkey *, int *);