forked from wolfSSL/wolfssl
Cert Request
1. Added setting the request's version. 2. Added certreq test code to the ctaocrypt test. 3. Added the certreq test outputs to gitignore.
This commit is contained in:
@@ -4625,7 +4625,7 @@ static int EncodeCertReq(Cert* cert, DerCert* der,
|
||||
XMEMSET(der, 0, sizeof(DerCert));
|
||||
|
||||
/* version */
|
||||
der->versionSz = SetMyVersion(0, der->version, FALSE);
|
||||
der->versionSz = SetMyVersion(cert->version, der->version, FALSE);
|
||||
|
||||
/* subject name */
|
||||
der->subjectSz = SetName(der->subject, &cert->subject);
|
||||
|
||||
Reference in New Issue
Block a user