mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
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.
This commit is contained in:
parent
786188f6bf
commit
e0f48ae976
1 changed files with 1 additions and 0 deletions
|
|
@ -917,6 +917,7 @@ static int ssl_sock_load_ocsp_response_from_file(const char *ocsp_path, struct b
|
|||
close(fd);
|
||||
fd = -1;
|
||||
|
||||
ret = 0;
|
||||
end:
|
||||
if (fd != -1)
|
||||
close(fd);
|
||||
|
|
|
|||
Loading…
Reference in a new issue