mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-05 19:34:12 +02:00
wolfcrypt/test/test.c: in test_dilithium_decode_level(), on early malloc failure, stay in the flow to assure cleanup;
.wolfssl_known_macro_extras: remove unneeded entry for WOLFSSL_DILITHIUM_VERIFY_NO_MALLOC.
This commit is contained in:
@@ -46914,7 +46914,7 @@ static wc_test_ret_t test_dilithium_decode_level(const byte* rawKey,
|
||||
key = (dilithium_key *)XMALLOC(sizeof(*key), HEAP_HINT,
|
||||
DYNAMIC_TYPE_TMP_BUFFER);
|
||||
if (der == NULL || key == NULL) {
|
||||
return MEMORY_E;
|
||||
ret = MEMORY_E;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user