commit | 1d3865b096b43b9a6d6a564ffb424ffa6f1ef79f | [log] [tgz] |
---|---|---|
author | Emeric Brun <ebrun@haproxy.com> | Fri Jun 20 15:37:32 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jun 23 12:14:47 2014 +0200 |
tree | 65f301f63b4f1641d92ccbee88d9ab1b423e3d97 | |
parent | 4f3c87a5d942d4d0649c35805ff4e335970b87d4 [diff] |
BUG/MINOR: ssl: Fix OCSP resp update fails with the same certificate configured twice.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 9eacf9f..328b978 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c
@@ -195,7 +195,7 @@ return -1; } -static struct eb_root cert_ocsp_tree; +static struct eb_root cert_ocsp_tree = EB_ROOT_UNIQUE; /* This function starts to check if the OCSP response (in DER format) contained * in chunk 'ocsp_response' is valid (else exits on error).