On Fri, Aug 17, 2012, Eric Fowler wrote:

> Must a client free the pointer returned from OBJ_nid2obj() ? I assume
> the pointer references data in some internal table and is not
> free()'d.
> 
> But I want to be sure ... man page is no help on this.
> 

An application doesn't have to no. However it is safe to call OBJ_free on the
ASN1_OBJECT: it just becomes a no op on OIDs from internal tables.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to