diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-12 23:02:32 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-12 23:02:32 +0800 |
commit | e60a84d0ed81365a4ac24f06d574b7accb6ab2bd (patch) | |
tree | 87045d7ef102f381be34e53940b32438d3599e77 /ecdsa.c | |
parent | f025277147104ae0de018ab139a6ece9709ebdde (diff) |
Various cleanups and fixes for warnings
--HG--
branch : ecc
Diffstat (limited to 'ecdsa.c')
-rw-r--r-- | ecdsa.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -246,8 +246,8 @@ out: // returns values in s and r // returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE -static int buf_get_ecdsa_verify_params(buffer *buf, struct dropbear_ecc_curve *curve, - void *r, void* s) { +static int buf_get_ecdsa_verify_params(buffer *buf, + void *r, void* s) { int ret = DROPBEAR_FAILURE; unsigned int sig_len; unsigned int sig_pos; @@ -302,7 +302,7 @@ int buf_ecdsa_verify(buffer *buf, ecc_key *key, buffer *data_buf) { dropbear_exit("ECC error"); } - if (buf_get_ecdsa_verify_params(buf, curve, r, s) != DROPBEAR_SUCCESS) { + if (buf_get_ecdsa_verify_params(buf, r, s) != DROPBEAR_SUCCESS) { goto out; } |