From e60a84d0ed81365a4ac24f06d574b7accb6ab2bd Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 12 Nov 2013 23:02:32 +0800 Subject: Various cleanups and fixes for warnings --HG-- branch : ecc --- ecdsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ecdsa.c') diff --git a/ecdsa.c b/ecdsa.c index fc8ea1f..eddbf13 100644 --- a/ecdsa.c +++ b/ecdsa.c @@ -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; } -- cgit v1.2.3