Mercurial > dropbear
diff ecdsa.c @ 801:7dcb46da72d9 ecc
merge in HEAD
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 21 May 2013 12:09:35 +0800 |
parents | 069b875031f5 |
children | b298bb438625 |
line wrap: on
line diff
--- a/ecdsa.c Thu May 09 23:27:23 2013 +0800 +++ b/ecdsa.c Tue May 21 12:09:35 2013 +0800 @@ -242,11 +242,8 @@ static int buf_get_ecdsa_verify_params(buffer *buf, struct dropbear_ecc_curve *curve, void *r, void* s) { int ret = DROPBEAR_FAILURE; - unsigned char* ident = NULL; - unsigned int ident_len; unsigned int sig_len; unsigned int sig_pos; - unsigned char key_ident[30]; sig_len = buf_getint(buf); sig_pos = buf->pos; @@ -262,7 +259,6 @@ ret = DROPBEAR_SUCCESS; out: - m_free(ident); return ret; }