diff cli-authpubkey.c @ 1682:a53e7d2d60be

rsa-sha256 for ssh-agent
author Matt Johnston <matt@ucc.asn.au>
date Mon, 25 May 2020 20:23:02 +0800
parents 435cfb9ec96e
children d18fa38c1fd4
line wrap: on
line diff
--- a/cli-authpubkey.c	Sun May 24 14:16:58 2020 +0800
+++ b/cli-authpubkey.c	Mon May 25 20:23:02 2020 +0800
@@ -130,7 +130,7 @@
 		/* Format the agent signature ourselves, as buf_put_sign would. */
 		buffer *sigblob;
 		sigblob = buf_new(MAX_PUBKEY_SIZE);
-		agent_buf_sign(sigblob, key, data_buf);
+		agent_buf_sign(sigblob, key, data_buf, sigtype);
 		buf_putbufstring(buf, sigblob);
 		buf_free(sigblob);
 	} else