mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-14 21:31:00 +01:00
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().