comparison cli-authpubkey.c @ 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 62e4baa059c3
children
comparison
equal deleted inserted replaced
1896:6cb6e81ca765 1897:fe68c0244b97
145 const char *algoname = NULL; 145 const char *algoname = NULL;
146 unsigned int algolen; 146 unsigned int algolen;
147 buffer* sigbuf = NULL; 147 buffer* sigbuf = NULL;
148 enum signkey_type keytype = signkey_type_from_signature(sigtype); 148 enum signkey_type keytype = signkey_type_from_signature(sigtype);
149 149
150 DEBUG1(("enter send_msg_userauth_pubkey %s", signkey_name_from_type(sigtype,NULL))) 150 DEBUG1(("enter send_msg_userauth_pubkey %s", signature_name_from_type(sigtype, NULL)))
151 CHECKCLEARTOWRITE(); 151 CHECKCLEARTOWRITE();
152 152
153 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_REQUEST); 153 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_REQUEST);
154 154
155 buf_putstring(ses.writepayload, cli_opts.username, 155 buf_putstring(ses.writepayload, cli_opts.username,