comparison cli-authpubkey.c @ 1830:c32976db772f

Merge
author Matt Johnston <matt@ucc.asn.au>
date Mon, 11 Oct 2021 15:46:49 +0800
parents df8d8ec1801c
children 62e4baa059c3
comparison
equal deleted inserted replaced
1829:a7cc3332d8ab 1830:c32976db772f
174 sigbuf = buf_new(4 + ses.session_id->len + ses.writepayload->len); 174 sigbuf = buf_new(4 + ses.session_id->len + ses.writepayload->len);
175 buf_putbufstring(sigbuf, ses.session_id); 175 buf_putbufstring(sigbuf, ses.session_id);
176 buf_putbytes(sigbuf, ses.writepayload->data, ses.writepayload->len); 176 buf_putbytes(sigbuf, ses.writepayload->data, ses.writepayload->len);
177 cli_buf_put_sign(ses.writepayload, key, sigtype, sigbuf); 177 cli_buf_put_sign(ses.writepayload, key, sigtype, sigbuf);
178 buf_free(sigbuf); /* Nothing confidential in the buffer */ 178 buf_free(sigbuf); /* Nothing confidential in the buffer */
179 cli_ses.is_trivial_auth = 0;
179 } 180 }
180 181
181 encrypt_packet(); 182 encrypt_packet();
182 TRACE(("leave send_msg_userauth_pubkey")) 183 TRACE(("leave send_msg_userauth_pubkey"))
183 } 184 }