Skip to content

Commit

Permalink
infer: fix uninit values in pkcs8_encode.
Browse files Browse the repository at this point in the history
  • Loading branch information
philljj committed Oct 24, 2024
1 parent 9af8716 commit ce31b15
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 ce31b15

Please sign in to comment.