forked from wolfSSL/wolfssl
initialize max pathlen to preserve ASN no signer error
This commit is contained in:
committed by
Jacob Barthelmeh
parent
a0a572cf3e
commit
0eefa80d74
@ -4455,6 +4455,7 @@ void InitDecodedCert(DecodedCert* cert,
|
||||
cert->source = source; /* don't own */
|
||||
cert->maxIdx = inSz; /* can't go over this index */
|
||||
cert->heap = heap;
|
||||
cert->maxPathLen = WOLFSSL_MAX_PATH_LEN;
|
||||
#ifdef WOLFSSL_CERT_GEN
|
||||
cert->subjectSNEnc = CTC_UTF8;
|
||||
cert->subjectCEnc = CTC_PRINTABLE;
|
||||
|
Reference in New Issue
Block a user