William Lallemand f94c6c8bfd MEDIUM: ssl: implements X509_STORE_get1_objects() for older OpenSSL versions
OpenSSL 4.0 is deprecating X509_STORE_get0_objects() and the get1
version must be used instead. Problem is the get1 alternative does not
exists in older OpenSSL versions (< 3.3). This patch implements
X509_STORE_get1_objects() using X509_STORE_get0_objects().

Note that resulting STACK_OF(X509_OBJECT) must be freed by the caller
with sk_X509_OBJECT_pop_free().
2025-12-18 16:26:52 +01:00
..