diff options
author | Richard Levitte <levitte@openssl.org> | 2016-07-23 11:34:45 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-07-23 11:35:30 +0200 |
commit | f46c2597ab958ce970aec40ff3b7f5ba5ceb0bcb (patch) | |
tree | d6873fc86e97ee28ebaf7ab08f3f048aaaa6df1b /crypto/x509 | |
parent | 9961cb77684aa26fe7302e691b7d16e53432a625 (diff) |
Properly initialise the internal proxy certificate path length cache
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x_x509.c | 1 |
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 |