1 commit 399714287a04d6b453ba95e4a3904a7644827d0b
2 Author: Emeric Brun <ebrun@haproxy.com>
3 Date: Thu Aug 16 15:14:12 2018 +0200
5 BUG/MEDIUM: ssl: loading dh param from certifile causes unpredictable error.
7 If the dh parameter is not found, the openssl's error global
8 stack was not correctly cleared causing unpredictable error
9 during the following parsing (chain cert parsing for instance).
11 This patch should be backported in 1.8 (and perhaps 1.7)
13 (cherry picked from commit e1b4ed4352619f985d7d65f5d95a830ef5775c46)
14 Signed-off-by: Willy Tarreau <w@1wt.eu>
16 diff --git a/src/ssl_sock.c b/src/ssl_sock.c
17 index 9f0ff1f0..9be2fc4c 100644
20 @@ -2597,6 +2597,8 @@ end: