mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Initialize OPENSSL_ALL local size / length / type vars
This commit is contained in:
16
src/pk.c
16
src/pk.c
@ -3372,9 +3372,9 @@ int wolfSSL_RSA_padding_add_PKCS1_PSS(WOLFSSL_RSA *rsa, unsigned char *em,
|
|||||||
{
|
{
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
enum wc_HashType hashType;
|
enum wc_HashType hashType;
|
||||||
int hashLen;
|
int hashLen = 0;
|
||||||
int emLen;
|
int emLen = 0;
|
||||||
int mgf;
|
int mgf = 0;
|
||||||
int initTmpRng = 0;
|
int initTmpRng = 0;
|
||||||
WC_RNG *rng = NULL;
|
WC_RNG *rng = NULL;
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
@ -3504,11 +3504,11 @@ int wolfSSL_RSA_verify_PKCS1_PSS(WOLFSSL_RSA *rsa, const unsigned char *mHash,
|
|||||||
const unsigned char *em, int saltLen)
|
const unsigned char *em, int saltLen)
|
||||||
{
|
{
|
||||||
int ret = 1;
|
int ret = 1;
|
||||||
int hashLen;
|
int hashLen = 0;
|
||||||
int mgf;
|
int mgf = 0;
|
||||||
int emLen;
|
int emLen = 0;
|
||||||
int mPrimeLen;
|
int mPrimeLen = 0;
|
||||||
enum wc_HashType hashType;
|
enum wc_HashType hashType = WC_HASH_TYPE_NONE;
|
||||||
byte *mPrime = NULL;
|
byte *mPrime = NULL;
|
||||||
byte *buf = NULL;
|
byte *buf = NULL;
|
||||||
|
|
||||||
|
@ -38119,7 +38119,7 @@ int wolfSSL_PEM_write_bio_PKCS8PrivateKey(WOLFSSL_BIO* bio,
|
|||||||
byte* key = NULL;
|
byte* key = NULL;
|
||||||
word32 keySz;
|
word32 keySz;
|
||||||
byte* pem = NULL;
|
byte* pem = NULL;
|
||||||
int pemSz;
|
int pemSz = 0;
|
||||||
int type = PKCS8_PRIVATEKEY_TYPE;
|
int type = PKCS8_PRIVATEKEY_TYPE;
|
||||||
int algId;
|
int algId;
|
||||||
const byte* curveOid;
|
const byte* curveOid;
|
||||||
|
Reference in New Issue
Block a user