MINOR: ssl: Add helper function that extracts an OCSP URI from a certificate
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 20 Dec 2022 10:11:04 +0000 (11:11 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 21 Dec 2022 10:21:07 +0000 (11:21 +0100)
commit47a4f1239d4571bcac2e8cc444db465b0e962d95
tree56b3518999fc75b9b48e92125f822bad1cf689fc
parent95e7cf1ddf35676940b105997dfbacfb2065c13a
MINOR: ssl: Add helper function that extracts an OCSP URI from a certificate

This function extracts the first OCSP URI (if any) contained in a
certificate. It only takes the first of potentially multiple URIs.
include/haproxy/ssl_sock.h
src/ssl_sock.c