mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Fix for use of incorrect devId for wolfSSL_SHA3_256_Init
.
This commit is contained in:
@@ -15774,7 +15774,7 @@ size_t wolfSSL_get_client_random(const WOLFSSL* ssl, unsigned char* out,
|
|||||||
(void)sizeof(sha_test);
|
(void)sizeof(sha_test);
|
||||||
|
|
||||||
WOLFSSL_ENTER("SHA3_256_Init");
|
WOLFSSL_ENTER("SHA3_256_Init");
|
||||||
ret = wc_InitSha3_256((wc_Sha3*)sha3_256, NULL, 0);
|
ret = wc_InitSha3_256((wc_Sha3*)sha3_256, NULL, INVALID_DEVID);
|
||||||
|
|
||||||
/* return 1 on success, 0 otherwise */
|
/* return 1 on success, 0 otherwise */
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
|
Reference in New Issue
Block a user