forked from wolfSSL/wolfssl
sb fixes for certgen + keygen
This commit is contained in:
@@ -3424,6 +3424,10 @@ static int EncodeCert(Cert* cert, DerCert* der, RsaKey* rsaKey, RNG* rng,
|
|||||||
{
|
{
|
||||||
(void)ntruKey;
|
(void)ntruKey;
|
||||||
(void)ntruSz;
|
(void)ntruSz;
|
||||||
|
|
||||||
|
/* init */
|
||||||
|
XMEMSET(der, 0, sizeof(DerCert));
|
||||||
|
|
||||||
/* version */
|
/* version */
|
||||||
der->versionSz = SetMyVersion(cert->version, der->version, TRUE);
|
der->versionSz = SetMyVersion(cert->version, der->version, TRUE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user