mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +02:00
fix warnings
This commit is contained in:
@@ -7024,7 +7024,7 @@ int wc_EccKeyToDer(ecc_key* key, byte* output, word32 inLen)
|
|||||||
|
|
||||||
/* public */
|
/* public */
|
||||||
XMEMCPY(output + idx, pub, pubidx);
|
XMEMCPY(output + idx, pub, pubidx);
|
||||||
idx += pubidx;
|
/* idx += pubidx; not used after write, if more data remove comment */
|
||||||
XFREE(pub, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
XFREE(pub, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||||
|
|
||||||
return totalSz;
|
return totalSz;
|
||||||
|
@@ -4045,7 +4045,7 @@ static int mp_div_d (mp_int * a, mp_digit b, mp_int * c, mp_digit * d)
|
|||||||
mp_int q;
|
mp_int q;
|
||||||
mp_word w;
|
mp_word w;
|
||||||
mp_digit t;
|
mp_digit t;
|
||||||
int res, ix;
|
int res = MP_OKAY, ix;
|
||||||
|
|
||||||
/* cannot divide by zero */
|
/* cannot divide by zero */
|
||||||
if (b == 0) {
|
if (b == 0) {
|
||||||
|
Reference in New Issue
Block a user