fixup! zephyr no malloc

This commit is contained in:
Juliusz Sosinowicz
2024-04-17 17:52:41 +02:00
parent 550d9ad9a4
commit cbd490d1d7

View File

@@ -1684,7 +1684,7 @@ WC_PKCS12* wolfSSL_d2i_PKCS12_bio(WOLFSSL_BIO* bio, WC_PKCS12** pkcs12)
}
if (mem != NULL) {
localPkcs12 = wc_PKCS12_new();
localPkcs12 = wc_PKCS12_new_ex(bio->heap);
if (localPkcs12 == NULL) {
WOLFSSL_MSG("Memory error");
}