mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
fixes for Windows build
This commit is contained in:
@@ -19610,7 +19610,7 @@ int DecodePrivateKey(WOLFSSL *ssl, word16* length)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Return the maximum signature length. */
|
/* Return the maximum signature length. */
|
||||||
*length = wc_ecc_sig_size((ecc_key*)ssl->hsKey);
|
*length = (word16)wc_ecc_sig_size((ecc_key*)ssl->hsKey);
|
||||||
|
|
||||||
goto exit_dpk;
|
goto exit_dpk;
|
||||||
}
|
}
|
||||||
|
@@ -3010,9 +3010,9 @@ static int wc_ecc_make_pub_ex(ecc_key* key, ecc_curve_spec* curveIn,
|
|||||||
{
|
{
|
||||||
int err = MP_OKAY;
|
int err = MP_OKAY;
|
||||||
#ifndef WOLFSSL_ATECC508A
|
#ifndef WOLFSSL_ATECC508A
|
||||||
ecc_point* base = NULL;
|
ecc_point* base = NULL;
|
||||||
DECLARE_CURVE_SPECS(ECC_CURVE_FIELD_COUNT)
|
|
||||||
ecc_point* pub;
|
ecc_point* pub;
|
||||||
|
DECLARE_CURVE_SPECS(ECC_CURVE_FIELD_COUNT)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (key == NULL) {
|
if (key == NULL) {
|
||||||
|
Reference in New Issue
Block a user