mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
infer: fix uninit values in pkcs8_encode.
This commit is contained in:
4
src/pk.c
4
src/pk.c
@ -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
|
||||
|
Reference in New Issue
Block a user