# HG changeset patch # User Matt Johnston # Date 1368113045 -28800 # Node ID 069b875031f59c3e1912f44d649a34ea2b362e53 # Parent 7f604f9b3756193304d93bd68da34096e9ed857d Fix ecdsa verification diff -r 7f604f9b3756 -r 069b875031f5 ecdsa.c --- 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) {