1. Added support for the cert req attributes.
2. Added setting the Basic Constraints extenstion request.
3. Added error checking for the cert req attribs.
This commit is contained in:
John Safranek
2014-01-08 16:26:42 -08:00
parent 7b4cf370d0
commit f545a33e77
5 changed files with 98 additions and 15 deletions

View File

@@ -3062,6 +3062,7 @@ int rsa_test(void)
InitCert(&req);
req.version = 0;
req.isCA = 1;
strncpy(req.subject.country, "US", CTC_NAME_SIZE);
strncpy(req.subject.state, "OR", CTC_NAME_SIZE);
strncpy(req.subject.locality, "Portland", CTC_NAME_SIZE);