diff options
Diffstat (limited to 'dns.h')
-rw-r--r-- | dns.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 | ||
52 | int verify_host_key_dns(const char *, struct sockaddr *, Key *); | 52 | |
53 | int export_dns_rr(const char *, Key *, FILE *, int); | 53 | int verify_host_key_dns(const char *, struct sockaddr *, const Key *, int *); |
54 | int export_dns_rr(const char *, const Key *, FILE *, int); | ||
54 | 55 | ||
55 | #endif /* DNS_H */ | 56 | #endif /* DNS_H */ |