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:
Daniel Pouzzner
2025-05-28 12:48:36 -05:00
parent 8ea01056c3
commit b9ef6c583a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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