$NetBSD: patch-ak,v 1.5 2004/08/31 11:27:12 wiz Exp $ --- sshconnect.c.orig 2004-06-22 04:56:02.000000000 +0200 +++ sshconnect.c @@ -727,6 +727,7 @@ check_host_key(char *host, struct sockad /* The default */ fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX); msg2[0] = '\0'; +#ifndef __INTERIX if (options.verify_host_key_dns) { if (matching_host_key_dns) snprintf(msg2, sizeof(msg2), @@ -737,6 +738,7 @@ check_host_key(char *host, struct sockad "No matching host key fingerprint" " found in DNS.\n"); } +#endif /* __INTERIX */ snprintf(msg, sizeof(msg), "The authenticity of host '%.200s (%s)' can't be " "established%s\n" @@ -894,6 +896,7 @@ verify_host_key(char *host, struct socka struct stat st; int flags = 0; +#ifndef __INTERIX if (options.verify_host_key_dns && verify_host_key_dns(host, hostaddr, host_key, &flags) == 0) { @@ -913,6 +916,7 @@ verify_host_key(char *host, struct socka } } } +#endif /* !defined(__INTERIX) */ /* return ok if the key can be found in an old keyfile */ if (stat(options.system_hostfile2, &st) == 0 ||