>What you normally do is this...
>EVP_PKEY *key;
>/* X509 *cert from somewhere */
>key = X509_get_pubkey(x509);
>/* various operations */
>X509_free(x509);
>EVP_PKEY_free(key);


In my case:
After "X509_free(x509);" the "key" pointer is freed.
So "EVP_PKEY_free(key);" would crash.
Am I missing something here?

Nicolas Roumiantzeff.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to