|X509_STORE_NEW(3)||Library Functions Manual||X509_STORE_NEW(3)|
X509_STORE_new() allocates and initializes an empty X.509 certificate store and sets its reference count to 1.
X509_STORE_up_ref() increments the
reference count of store by 1.
X509_STORE_free() decrements the reference
count of store by 1. If the reference count reaches 0,
all resources used by the store, including all certificates contained in it,
are released and store itself is freed. If
store is a
NULL pointer, no
X509_STORE_new() returns a newly created X509_STORE object or
NULLif an error occurs.
X509_STORE_up_ref() returns 1 for success
and 0 for failure.
X509_STORE_free() first appeared in SSLeay 0.8.0 and have been available since OpenBSD 2.4.
X509_STORE_up_ref() first appeared in
OpenSSL 1.1.0 and has been available since OpenBSD
|June 6, 2019||OpenBSD-current|