query on api PKCS12_parse()

SIMON BABY simonkbaby at gmail.com
Wed Sep 2 00:28:09 UTC 2020

I am using the api   PKCS12_parse for creating the private key and certs.
When I send a wrong password to the API, my process crashes in the call
PKCS12_parse(). The same API works fine when I pass the correct passwd. Can
someone please help to send some clues to resolve/debug this issue.

p12 = d2i_PKCS12_fp(fp, NULL);
PKCS12_parse(p12, passwd, &pkey, &cert, &ca))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20200901/f9eb2f7e/attachment.html>

More information about the openssl-users mailing list