Hi
some functions like X509_PUBKEY_get increment the internal reference
counter of the "object"
so that EVP_PKEY_free( pKey ) has to be called.
Other functions like X509_get_X509_PUBKEY just return an internal pointer
and I have to care myself about reference counting.
Is there a general rule or naming convention to know how to use that?
Or is the only possibilty to figure that out debugging into the code?
--
mit freundlichen Grüßen / best regards
*Gerhard Gappmeier*
ascolab GmbH - automation systems communication laboratory
Tel.: +49 9131 691 123
Fax: +49 9131 691 128
Web: http://www.ascolab.com
GPG-Key: http://www.ascolab.com/gpg/gg.asc
--
*ascolab GmbH*
Geschäftsführer: Gerhard Gappmeier, Matthias Damm, Uwe Steinkrauß
Sitz der Gesellschaft: Am Weichselgarten 7 . 91058 Erlangen . Germany
Registernummer: HRB 9360
Registergericht: Amtsgericht Fürth