diff options
author | Colin Watson <cjwatson@debian.org> | 2004-03-01 02:25:32 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2004-03-01 02:25:32 +0000 |
commit | ea8116a11e3de70036dbc665ccb0d486cf89cac9 (patch) | |
tree | d73ccdff78d8608e156465af42e6a1b3527fb2d6 /dns.h | |
parent | e39b311381a5609cc05acf298c42fba196dc524b (diff) | |
parent | f5bda272678ec6dccaa5f29379cf60cb855018e8 (diff) |
Merge 3.8p1 to the trunk. This builds and runs, but I haven't tested it
extensively yet.
ProtocolKeepAlives is now just a compatibility alias for
ServerAliveInterval.
Diffstat (limited to 'dns.h')
-rw-r--r-- | dns.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dns.h,v 1.3 2003/05/14 22:56:51 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. |
@@ -28,7 +28,6 @@ | |||
28 | 28 | ||
29 | #include "includes.h" | 29 | #include "includes.h" |
30 | 30 | ||
31 | #ifdef DNS | ||
32 | #ifndef DNS_H | 31 | #ifndef DNS_H |
33 | #define DNS_H | 32 | #define DNS_H |
34 | 33 | ||
@@ -46,12 +45,12 @@ enum sshfp_hashes { | |||
46 | #define DNS_RDATACLASS_IN 1 | 45 | #define DNS_RDATACLASS_IN 1 |
47 | #define DNS_RDATATYPE_SSHFP 44 | 46 | #define DNS_RDATATYPE_SSHFP 44 |
48 | 47 | ||
49 | #define DNS_VERIFY_FAILED -1 | 48 | #define DNS_VERIFY_FOUND 0x00000001 |
50 | #define DNS_VERIFY_OK 0 | 49 | #define DNS_VERIFY_MATCH 0x00000002 |
51 | #define DNS_VERIFY_ERROR 1 | 50 | #define DNS_VERIFY_SECURE 0x00000004 |
52 | 51 | ||
53 | int verify_host_key_dns(const char *, struct sockaddr *, Key *); | 52 | |
54 | 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); | ||
55 | 55 | ||
56 | #endif /* DNS_H */ | 56 | #endif /* DNS_H */ |
57 | #endif /* DNS */ | ||