MINOR: ssl: Use OpenSSL's ASN1_TIME convertor when available
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 11 Jun 2021 08:28:09 +0000 (10:28 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 14 Jun 2021 13:12:53 +0000 (15:12 +0200)
commit6916493c292e8003d3efea991389246553fb13b3
tree8eb6f8aa8ef04afb626227db565bbd5cb21edbde
parent095303956708a3f87594ae60cd9d7df12d12d905
MINOR: ssl: Use OpenSSL's ASN1_TIME convertor when available

The ASN1_TIME_to_tm function was added in OpenSSL1.1.1 so with this
version of the library we do not need our homemade time convertor
anymore.
include/haproxy/openssl-compat.h
src/ssl_sock.c