aboutsummaryrefslogtreecommitdiff
path: root/src/known_hosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/known_hosts.c')
-rw-r--r--src/known_hosts.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/known_hosts.c b/src/known_hosts.c
index a9ae38c1..185ac157 100644
--- a/src/known_hosts.c
+++ b/src/known_hosts.c
@@ -369,7 +369,7 @@ static int match_hashed_host(ssh_session session, const char *host,
ssh_buffer_free(salt);
ssh_buffer_free(hash);
- ssh_log(session, SSH_LOG_PACKET,
+ SSH_LOG(SSH_LOG_PACKET,
"Matching a hashed host: %s match=%d", host, match);
leave_function();
@@ -478,8 +478,7 @@ int ssh_is_server_known(ssh_session session) {
if (match) {
/* We got a match. Now check the key type */
if (strcmp(session->current_crypto->server_pubkey_type, type) != 0) {
- ssh_log(session,
- SSH_LOG_PACKET,
+ SSH_LOG(SSH_LOG_PACKET,
"ssh_is_server_known: server type [%s] doesn't match the "
"type [%s] in known_hosts file",
session->current_crypto->server_pubkey_type,