search for: free_hostlist

Displaying 1 result from an estimated 1 matches for "free_hostlist".

2004 Oct 03
0
[patch] tell user about hosts with same key
...ist *x; + for (x = keyhosts; x; x = x->next) { + if (sizeof(msg_same_key) < + strlen(msg_same_key) + strlen(x->host) + 3) + break; + strcat(msg_same_key, "\t"); + strcat(msg_same_key, x->host); + strcat(msg_same_key, "\n"); + } + free_hostlist(keyhosts); + } else { + msg_same_key[0] = '\0'; + } + /* The default */ fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX); msg2[0] = '\0'; @@ -740,10 +763,11 @@ snprintf(msg, sizeof(msg), "The authenticity of host '%.200s (%s)' can...