]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: ssl: fix OCSP expiry calculation
authorFrederik Deweerdt <fdeweerdt@fastly.com>
Mon, 16 Oct 2017 14:37:31 +0000 (07:37 -0700)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Oct 2017 16:14:36 +0000 (18:14 +0200)
commit953917abc9fb72c49fa49cb41bc2cdbecd7c9e93
tree317bd5f39d48e604425b758371565dae39a97129
parent64cc49cf7e0db452e1467b2ac4cbf71c674dbc5a
BUG/MEDIUM: ssl: fix OCSP expiry calculation

The hour part of the timezone offset was multiplied by 60 instead of
3600, resulting in an inaccurate expiry. This bug was introduced in
1.6-dev1 by commit 4f3c87a ("BUG/MEDIUM: ssl: Fix to not serve expired
OCSP responses."), so this fix must be backported into 1.7 and 1.6.
src/ssl_sock.c