From f46c2597ab958ce970aec40ff3b7f5ba5ceb0bcb Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 23 Jul 2016 11:34:45 +0200 Subject: [PATCH] Properly initialise the internal proxy certificate path length cache Reviewed-by: Rich Salz --- crypto/x509/x_x509.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1