summaryrefslogtreecommitdiff
path: root/dns.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-09-14 04:32:21 +0000
committerDamien Miller <djm@mindrot.org>2017-09-14 14:33:06 +1000
commitaea59a0d9f120f2a87c7f494a0d9c51eaa79b8ba (patch)
tree931c66543aa73417ed66342ad988b7bade568149 /dns.h
parent871f1e4374420b07550041b329627c474abc3010 (diff)
upstream commit
Revert commitid: gJtIN6rRTS3CHy9b. ------------- 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@ ------------- This caused unexpected failures when VerifyHostKeyDNS=yes, SSHFP results are missing but the user already has the key in known_hosts Spotted by dtucker@ Upstream-ID: 97e31742fddaf72046f6ffef091ec0d823299920
Diffstat (limited to 'dns.h')
-rw-r--r--dns.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dns.h b/dns.h
index 6bb8c7933..68443f7cb 100644
--- a/dns.h
+++ b/dns.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dns.h,v 1.16 2017/09/01 05:53:56 djm Exp $ */ 1/* $OpenBSD: dns.h,v 1.17 2017/09/14 04:32:21 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,7 +49,6 @@ 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
53 52
54int verify_host_key_dns(const char *, struct sockaddr *, 53int verify_host_key_dns(const char *, struct sockaddr *,
55 struct sshkey *, int *); 54 struct sshkey *, int *);