summaryrefslogtreecommitdiff
path: root/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'dns.h')
-rw-r--r--dns.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/dns.h b/dns.h
index 1eb07d96e..c5da22ef6 100644
--- a/dns.h
+++ b/dns.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dns.h,v 1.4 2003/10/14 19:42:10 jakob Exp $ */ 1/* $OpenBSD: dns.h,v 1.5 2003/11/12 16:39:58 jakob Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2003 Wesley Griffin. All rights reserved. 4 * Copyright (c) 2003 Wesley Griffin. All rights reserved.
@@ -45,11 +45,12 @@ enum sshfp_hashes {
45#define DNS_RDATACLASS_IN 1 45#define DNS_RDATACLASS_IN 1
46#define DNS_RDATATYPE_SSHFP 44 46#define DNS_RDATATYPE_SSHFP 44
47 47
48#define DNS_VERIFY_FAILED -1 48#define DNS_VERIFY_FOUND 0x00000001
49#define DNS_VERIFY_OK 0 49#define DNS_VERIFY_MATCH 0x00000002
50#define DNS_VERIFY_ERROR 1 50#define DNS_VERIFY_SECURE 0x00000004
51 51
52int verify_host_key_dns(const char *, struct sockaddr *, Key *); 52
53int export_dns_rr(const char *, Key *, FILE *, int); 53int verify_host_key_dns(const char *, struct sockaddr *, const Key *, int *);
54int export_dns_rr(const char *, const Key *, FILE *, int);
54 55
55#endif /* DNS_H */ 56#endif /* DNS_H */