Merge pull request #572 from ejohnstown/pathlen

CA Certificate Path Length Checking
This commit is contained in:
toddouska
2016-09-21 14:36:24 -07:00
committed by GitHub
28 changed files with 2384 additions and 21 deletions

View File

@@ -3190,6 +3190,8 @@ int AddCA(WOLFSSL_CERT_MANAGER* cm, DerBuffer** pDer, int type, int verify)
signer->pubKeySize = cert->pubKeySize;
signer->nameLen = cert->subjectCNLen;
signer->name = cert->subjectCN;
signer->pathLength = cert->pathLength;
signer->pathLengthSet = cert->pathLengthSet;
#ifndef IGNORE_NAME_CONSTRAINTS
signer->permittedNames = cert->permittedNames;
signer->excludedNames = cert->excludedNames;