]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: add utils functions to extract X509 notAfter date
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 16 Dec 2024 11:34:56 +0000 (12:34 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 16 Dec 2024 13:54:53 +0000 (14:54 +0100)
commitbb88f68cf73fa94f2cb63dcfa51cc9177a1627d6
treedcb8f6dba9d68d80fb41eacfc03c659168f63924
parentfbc534a6fab8ef75e53c009ceb0ed16264a8bf02
MINOR: ssl: add utils functions to extract X509 notAfter date

Add ASN1_to_time_t() which converts an ASN1_TIME to a time_t and
x509_get_notafter_time_t() which returns the notAfter date in time_t
format.
include/haproxy/ssl_utils.h
src/ssl_utils.c