|X509_INFO_NEW(3)||Library Functions Manual||X509_INFO_NEW(3)|
X509_INFO_free — X.509
certificate wrapper object
X509_INFO is a reference-counted wrapper object storing a pointer to an X.509 certificate together with pointers to the associated private key and to an associated certificate revocation list. It is for example used internally by X509_load_cert_crl_file(3).
allocates and initializes an empty X509_INFO object
and sets its reference count to 1.
decrements the reference count of info by 1. If the
reference count reaches 0, it frees all referenced objects as well as the
storage needed for info itself. If
info is a
NULL pointer, no
X509_INFO_new() returns the newly
allocated X509_INFO object or
NULL if an error occurs.
X509_INFO_free() first appeared in SSLeay 0.5.1 and
have been available since OpenBSD 2.4.
|July 23, 2020||OpenBSD-current|