summaryrefslogtreecommitdiffhomepage
path: root/cli-authpubkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-25 20:23:02 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-25 20:23:02 +0800
commitc917807b1c89b93b317d56ce2905b5d6d6468a11 (patch)
tree95f642a9aacc8503edc434261ad64a0fc398a01c /cli-authpubkey.c
parent701d43b8594365b55421e8bc4c53efa920c09ed5 (diff)
rsa-sha256 for ssh-agent
Diffstat (limited to 'cli-authpubkey.c')
-rw-r--r--cli-authpubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-authpubkey.c b/cli-authpubkey.c
index 49f79c3..fef0f27 100644
--- a/cli-authpubkey.c
+++ b/cli-authpubkey.c
@@ -130,7 +130,7 @@ static void cli_buf_put_sign(buffer* buf, sign_key *key, enum signature_type sig
/* 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