diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2003-11-12 16:39:59 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2003-11-12 16:39:59 +0000 |
commit | 8e1fc94eac40f329d3999992b6e96dfa95624ecb (patch) | |
tree | 0bf08345b95ce09efbd90709ed03e0dc02c485c6 /usr.bin/ssh/dns.h | |
parent | 478955d4502b2f1a19d38ff26d98485a370c591b (diff) |
update SSHFP validation. ok markus@
Diffstat (limited to 'usr.bin/ssh/dns.h')
-rw-r--r-- | usr.bin/ssh/dns.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/ssh/dns.h b/usr.bin/ssh/dns.h index 1eb07d96ead..c5da22ef61a 100644 --- a/usr.bin/ssh/dns.h +++ b/usr.bin/ssh/dns.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dns.h,v 1.4 2003/10/14 19:42:10 jakob Exp $ */ +/* $OpenBSD: dns.h,v 1.5 2003/11/12 16:39:58 jakob Exp $ */ /* * Copyright (c) 2003 Wesley Griffin. All rights reserved. @@ -45,11 +45,12 @@ enum sshfp_hashes { #define DNS_RDATACLASS_IN 1 #define DNS_RDATATYPE_SSHFP 44 -#define DNS_VERIFY_FAILED -1 -#define DNS_VERIFY_OK 0 -#define DNS_VERIFY_ERROR 1 +#define DNS_VERIFY_FOUND 0x00000001 +#define DNS_VERIFY_MATCH 0x00000002 +#define DNS_VERIFY_SECURE 0x00000004 -int verify_host_key_dns(const char *, struct sockaddr *, Key *); -int export_dns_rr(const char *, Key *, FILE *, int); + +int verify_host_key_dns(const char *, struct sockaddr *, const Key *, int *); +int export_dns_rr(const char *, const Key *, FILE *, int); #endif /* DNS_H */ |