From 0d4ab4fc091b3c39cc6fcab2e586b2c5d4901304 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 22 Mar 2022 23:28:24 +0800 Subject: [PATCH] Use signature type not key type for debug message --- cli-authpubkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli-authpubkey.c b/cli-authpubkey.c index 817a81d..975d3bd 100644 --- a/cli-authpubkey.c +++ b/cli-authpubkey.c @@ -147,7 +147,7 @@ static void send_msg_userauth_pubkey(sign_key *key, enum signature_type sigtype, buffer* sigbuf = NULL; enum signkey_type keytype = signkey_type_from_signature(sigtype); - DEBUG1(("enter send_msg_userauth_pubkey %s", signkey_name_from_type(sigtype,NULL))) + DEBUG1(("enter send_msg_userauth_pubkey %s", signature_name_from_type(sigtype, NULL))) CHECKCLEARTOWRITE(); buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_REQUEST);