diff options
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c index dfa2e5b09..0ff4b2bcc 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: sshconnect.c,v 1.142 2003/05/23 08:29:30 djm Exp $"); | 16 | RCSID("$OpenBSD: sshconnect.c,v 1.143 2003/05/26 12:54:40 djm Exp $"); |
17 | 17 | ||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | 19 | ||
@@ -848,7 +848,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, | |||
848 | host_file, host_line); | 848 | host_file, host_line); |
849 | } | 849 | } |
850 | if (options.strict_host_key_checking == 1) { | 850 | if (options.strict_host_key_checking == 1) { |
851 | logit(msg); | 851 | logit("%s", msg); |
852 | error("Exiting, you have requested strict checking."); | 852 | error("Exiting, you have requested strict checking."); |
853 | goto fail; | 853 | goto fail; |
854 | } else if (options.strict_host_key_checking == 2) { | 854 | } else if (options.strict_host_key_checking == 2) { |
@@ -857,7 +857,7 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key, | |||
857 | if (!confirm(msg)) | 857 | if (!confirm(msg)) |
858 | goto fail; | 858 | goto fail; |
859 | } else { | 859 | } else { |
860 | logit(msg); | 860 | logit("%s", msg); |
861 | } | 861 | } |
862 | } | 862 | } |
863 | 863 | ||