forked from wolfSSL/wolfssl
Cert Req
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user