commit | e0f48ae976cb4774537ce46a1fa35d8cdbc64928 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Oct 15 13:44:57 2019 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Tue Oct 15 13:50:20 2019 +0200 |
tree | c0070a27485f5793186354e46aed012fc4cec549 | |
parent | 786188f6bfcc6f8ed2a4fe73b543f572ed2a00a9 [diff] |
BUG/MINOR: ssl: can't load ocsp files 246c024 ("MINOR: ssl: load the ocsp in/from the ckch") broke the loading of OCSP files. The function ssl_sock_load_ocsp_response_from_file() was not returning 0 upon success which lead to an error after the .ocsp was read.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 1a48e2a..1143065 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c
@@ -917,6 +917,7 @@ close(fd); fd = -1; + ret = 0; end: if (fd != -1) close(fd);