From f9c637cfe64b22dd8005c373046492827dc1585e Mon Sep 17 00:00:00 2001 From: Dorian Johnson <2012@dorianj.net> Date: Thu, 28 Jun 2012 20:24:41 -0500 Subject: [PATCH] libfreerdp-crypto: re-add rest of warning message in tls_print_certificate_error --- libfreerdp-crypto/tls.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libfreerdp-crypto/tls.c b/libfreerdp-crypto/tls.c index 180099f75..c752b6cdb 100644 --- a/libfreerdp-crypto/tls.c +++ b/libfreerdp-crypto/tls.c @@ -530,6 +530,9 @@ void tls_print_certificate_error(char* hostname, char* fingerprint) printf("It is also possible that a host key has just been changed.\n"); printf("The fingerprint for the host key sent by the remote host is\n%s\n", fingerprint); printf("Please contact your system administrator.\n"); + printf("Add correct host key in ~/.freerdp/known_hosts to get rid of this message.\n"); + printf("Host key for %s has changed and you have requested strict checking.\n", hostname); + printf("Host key verification failed.\n"); } void tls_print_certificate_name_mismatch_error(char* hostname, char* common_name, char** alt_names, int alt_names_count)