changeset 798:30f7bad5e748 ecc

merge
author Matt Johnston <matt@ucc.asn.au>
date Thu, 09 May 2013 23:25:39 +0800
parents 069b875031f5 (diff) 45f1bc96f357 (current diff)
children c344607b7341
files
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ecdsa.c	Thu May 09 23:24:58 2013 +0800
+++ b/ecdsa.c	Thu May 09 23:25:39 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) {