Skip to content

Commit cbd490d

Browse files
committed
fixup! zephyr no malloc
1 parent 550d9ad commit cbd490d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ssl_p7p12.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@ WC_PKCS12* wolfSSL_d2i_PKCS12_bio(WOLFSSL_BIO* bio, WC_PKCS12** pkcs12)
16841684
}
16851685

16861686
if (mem != NULL) {
1687-
localPkcs12 = wc_PKCS12_new();
1687+
localPkcs12 = wc_PKCS12_new_ex(bio->heap);
16881688
if (localPkcs12 == NULL) {
16891689
WOLFSSL_MSG("Memory error");
16901690
}

0 commit comments

Comments
 (0)