Displaying 1 result from an estimated 1 matches for "xxx_canohost".
2010 Nov 28
2
[PATCH] Use canonical hostname for DNS SSHFP lookup
...ROTOFLAG_HOST_IN_FWD_OPEN;
diff -ur openssh/sshconnect2.c openssh-sshfp/sshconnect2.c
--- openssh/sshconnect2.c 2010-09-24 14:11:14.000000000 +0200
+++ openssh-sshfp/sshconnect2.c 2010-11-27 23:38:36.154046251 +0100
@@ -90,24 +90,26 @@
char *xxx_host;
struct sockaddr *xxx_hostaddr;
+const char *xxx_canohost;
Kex *xxx_kex = NULL;
static int
verify_host_key_callback(Key *hostkey)
{
- if (verify_host_key(xxx_host, xxx_hostaddr, hostkey) == -1)
+ if (verify_host_key(xxx_host, xxx_hostaddr, hostkey, xxx_canohost) == -1)
fatal("Host key verification failed.");
return 0;
}
void
-ss...