From: Richard Levitte Date: Sat, 23 Jul 2016 09:34:45 +0000 (+0200) Subject: Properly initialise the internal proxy certificate path length cache X-Git-Tag: OpenSSL_1_1_0-pre6~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f46c2597ab958ce970aec40ff3b7f5ba5ceb0bcb;p=openssl Properly initialise the internal proxy certificate path length cache Reviewed-by: Rich Salz --- diff --git a/crypto/x509/x_x509.c b/crypto/x509/x_x509.c index 9445430b47..7d9f9816e6 100644 --- a/crypto/x509/x_x509.c +++ b/crypto/x509/x_x509.c @@ -43,6 +43,7 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, case ASN1_OP_NEW_POST: ret->ex_flags = 0; ret->ex_pathlen = -1; + ret->ex_pcpathlen = -1; ret->skid = NULL; ret->akid = NULL; #ifndef OPENSSL_NO_RFC3779