BUG/MINOR: ssl: Fix OCSP resp update fails with the same certificate configured twice.

This commit is contained in:
Emeric Brun 2014-06-20 15:37:32 +02:00 committed by Willy Tarreau
parent 4f3c87a5d9
commit 1d3865b096
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ static long asn1_generalizedtime_to_epoch(ASN1_GENERALIZEDTIME *d)
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).