diff 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
line wrap: on
line diff
--- a/cli-authpubkey.c	Mon Oct 11 15:42:14 2021 +0800
+++ b/cli-authpubkey.c	Mon Oct 11 15:46:49 2021 +0800
@@ -176,6 +176,7 @@
 		buf_putbytes(sigbuf, ses.writepayload->data, ses.writepayload->len);
 		cli_buf_put_sign(ses.writepayload, key, sigtype, sigbuf);
 		buf_free(sigbuf); /* Nothing confidential in the buffer */
+		cli_ses.is_trivial_auth = 0;
 	}
 
 	encrypt_packet();