changeset 1897:fe68c0244b97

Use signature type not key type for debug message
author Matt Johnston <matt@ucc.asn.au>
date Tue, 22 Mar 2022 23:28:24 +0800
parents 6cb6e81ca765
children 3f87f7ff1092
files cli-authpubkey.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cli-authpubkey.c	Sat Mar 19 09:04:18 2022 +0000
+++ b/cli-authpubkey.c	Tue Mar 22 23:28:24 2022 +0800
@@ -147,7 +147,7 @@
 	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);