Mercurial > dropbear
changeset 796:069b875031f5 ecc
Fix ecdsa verification
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 09 May 2013 23:24:05 +0800 |
parents | 7f604f9b3756 |
children | 30f7bad5e748 |
files | ecdsa.c |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/ecdsa.c Fri May 03 23:07:48 2013 +0800 +++ b/ecdsa.c Thu May 09 23:24:05 2013 +0800 @@ -248,14 +248,6 @@ unsigned int sig_pos; unsigned char key_ident[30]; - ident = buf_getstring(buf, &ident_len); - snprintf((char*)key_ident, sizeof(key_ident), "ecdsa-sha2-%s", curve->name); - if (strlen((char*)key_ident) != ident_len) { - goto out; - } - if (memcmp(key_ident, ident, ident_len) != 0) { - goto out; - } sig_len = buf_getint(buf); sig_pos = buf->pos; if (buf_getmpint(buf, r) != DROPBEAR_SUCCESS) {