Fix for build error / typo for ECC 256-bit non-blocking only.

This commit is contained in:
David Garske
2020-08-07 16:47:08 -07:00
parent c0a664a8e5
commit f7fcef5f32

View File

@ -6043,7 +6043,7 @@ int wc_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash,
} }
#ifdef WC_ECC_NONBLOCK_ONLY #ifdef WC_ECC_NONBLOCK_ONLY
do { /* perform blocking call to non-blocking function */ do { /* perform blocking call to non-blocking function */
err = sp_ecc_verify_256_nb(&nb_ctx->sp_ctx, hash, hashlen, err = sp_ecc_verify_256_nb(&nb_ctx.sp_ctx, hash, hashlen,
key->pubkey.x, key->pubkey.y, key->pubkey.z, r, s, res, key->pubkey.x, key->pubkey.y, key->pubkey.z, r, s, res,
key->heap); key->heap);
} while (err == FP_WOULDBLOCK); } while (err == FP_WOULDBLOCK);