summaryrefslogtreecommitdiff
path: root/crypto/x509/x_x509.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-07-23 11:34:45 +0200
committerRichard Levitte <levitte@openssl.org>2016-07-23 11:35:30 +0200
commitf46c2597ab958ce970aec40ff3b7f5ba5ceb0bcb (patch)
treed6873fc86e97ee28ebaf7ab08f3f048aaaa6df1b /crypto/x509/x_x509.c
parent9961cb77684aa26fe7302e691b7d16e53432a625 (diff)
downloadopenssl-new-f46c2597ab958ce970aec40ff3b7f5ba5ceb0bcb.tar.gz
Properly initialise the internal proxy certificate path length cache
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x_x509.c')
-rw-r--r--crypto/x509/x_x509.c1
1 files changed, 1 insertions, 0 deletions
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