View | Details | Raw Unified | Return to bug 1993 | Differences between
and this patch

Collapse All | Expand All

(-)a/sshconnect.c (-3 / +2 lines)
Lines 912-919 check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port, Link Here
912
			    host_key, options.hash_known_hosts))
912
			    host_key, options.hash_known_hosts))
913
				logit("Failed to add the %s host key for IP "
913
				logit("Failed to add the %s host key for IP "
914
				    "address '%.128s' to the list of known "
914
				    "address '%.128s' to the list of known "
915
				    "hosts (%.30s).", type, ip,
915
				    "hosts (%s).", type, ip, user_hostfiles[0]);
916
				    user_hostfiles[0]);
917
			else
916
			else
918
				logit("Warning: Permanently added the %s host "
917
				logit("Warning: Permanently added the %s host "
919
				    "key for IP address '%.128s' to the list "
918
				    "key for IP address '%.128s' to the list "
Lines 1024-1030 check_host_key(char *hostname, struct sockaddr *hostaddr, u_short port, Link Here
1024
1023
1025
		if (!r)
1024
		if (!r)
1026
			logit("Failed to add the host to the list of known "
1025
			logit("Failed to add the host to the list of known "
1027
			    "hosts (%.500s).", user_hostfiles[0]);
1026
			    "hosts (%s).", user_hostfiles[0]);
1028
		else
1027
		else
1029
			logit("Warning: Permanently added '%.200s' (%s) to the "
1028
			logit("Warning: Permanently added '%.200s' (%s) to the "
1030
			    "list of known hosts.", hostp, type);
1029
			    "list of known hosts.", hostp, type);

Return to bug 1993