mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 20:24:39 +02:00
Use void*
on heap hint test. Also previously fixed in hmac.c
.
This commit is contained in:
@@ -288,7 +288,7 @@ int wc_SrpInit_ex(Srp* srp, SrpType type, SrpSide side, void* heap, int devId)
|
|||||||
|
|
||||||
/* default heap hint to NULL or test value */
|
/* default heap hint to NULL or test value */
|
||||||
#ifdef WOLFSSL_HEAP_TEST
|
#ifdef WOLFSSL_HEAP_TEST
|
||||||
srp->heap = (void)WOLFSSL_HEAP_TEST;
|
srp->heap = (void*)WOLFSSL_HEAP_TEST;
|
||||||
#else
|
#else
|
||||||
srp->heap = heap;
|
srp->heap = heap;
|
||||||
#endif /* WOLFSSL_HEAP_TEST */
|
#endif /* WOLFSSL_HEAP_TEST */
|
||||||
|
Reference in New Issue
Block a user