Skip to content

Commit

Permalink
Merge pull request #8110 from philljj/fix_infer
Browse files Browse the repository at this point in the history
infer: fix uninit values in pkcs8_encode.
  • Loading branch information
douzzer authored Oct 29, 2024
2 parents 202822c + ce31b15 commit 57a5895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pk.c
Original file line number Diff line number Diff line change
Expand Up @@ -16478,9 +16478,9 @@ int pkcs8_encrypt(WOLFSSL_EVP_PKEY* pkey,
int pkcs8_encode(WOLFSSL_EVP_PKEY* pkey, byte* key, word32* keySz)
{
int ret = 0;
int algId;
int algId = 0;
const byte* curveOid;
word32 oidSz;
word32 oidSz = 0;

/* Get the details of the private key. */
#ifdef HAVE_ECC
Expand Down

0 comments on commit 57a5895

Please sign in to comment.