From: Richard Levitte Date: Thu, 20 Mar 2003 10:57:09 +0000 (+0000) Subject: Shut up an ANSI compiler about uninitialised variables. X-Git-Tag: BEN_FIPS_TEST_1~38^2~252 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=42a559163dad698265cc0b23b41dc8ded58ff76d;p=oweals%2Fopenssl.git Shut up an ANSI compiler about uninitialised variables. PR: 517 --- diff --git a/crypto/pkcs12/p12_npas.c b/crypto/pkcs12/p12_npas.c index a549433eeb..af708a2743 100644 --- a/crypto/pkcs12/p12_npas.c +++ b/crypto/pkcs12/p12_npas.c @@ -107,7 +107,7 @@ static int newpass_p12(PKCS12 *p12, char *oldpass, char *newpass) { STACK_OF(PKCS7) *asafes, *newsafes; STACK_OF(PKCS12_SAFEBAG) *bags; - int i, bagnid, pbe_nid, pbe_iter, pbe_saltlen; + int i, bagnid, pbe_nid = 0, pbe_iter = 0, pbe_saltlen = 0; PKCS7 *p7, *p7new; ASN1_OCTET_STRING *p12_data_tmp = NULL, *macnew = NULL; unsigned char mac[EVP_MAX_MD_SIZE];