BUG/MINOR: ssl: Use 'date' instead of 'now' in ocsp stapling callback
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 2 Mar 2023 14:49:55 +0000 (15:49 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 2 Mar 2023 14:57:56 +0000 (15:57 +0100)
commit8c20a74c90964b7bd76144fe8dbde15f227d9a04
tree2dfb415ec15e24072391ec09a8143d1cd44e322a
parent56ab607c409dbc6f169b1066328a557c1729ea57
BUG/MINOR: ssl: Use 'date' instead of 'now' in ocsp stapling callback

In the OCSP response callback, instead of using the actual date of the
system, the scheduler's 'now' timer is used when checking a response's
validity.

This patch can be backported to all stable versions.
src/ssl_ocsp.c