fix ecdsa signatures from Markus

guess I somehow botched Markus' pull request :(
This commit is contained in:
Damien Miller
2012-01-12 12:47:18 +11:00
committed by Markus Friedl
parent 97a2b75862
commit 207b5422e6

View File

@@ -78,7 +78,7 @@ ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, u_int *lenp,
(ret = sshbuf_put_bignum2(bb, sig->s)) != 0)
goto out;
if ((ret = sshbuf_put_cstring(b, sshkey_ssh_name_plain(key))) != 0 ||
(ret = sshbuf_putb(b, bb)) != 0)
(ret = sshbuf_put_stringb(b, bb)) != 0)
goto out;
len = sshbuf_len(b);
if (lenp != NULL)