mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-05 09:21:42 +01: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
@ -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…
x
Reference in New Issue
Block a user