Just a comment about the pointers pkey and cert. Generally
when I see things defined this way (I know nothing of the
PKCS12_parse function) the two pointers should first be
allocated memory for the size of the structure. Does the
parse function do this for you?
-----Original Message-----
>Hello all...
> I try to get private key and certificates from p12
>file that generate from NS certificate server but I
>have a problem. I can't get priKey and certs from
>function PKCS12_parse(). When I call this function,
>It will return '0'. Is that mean there're something
>wrong? Please see my code and screen output.My output
>file (test.p12) has zero length.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]