]> granicus.if.org Git - openssl/commitdiff
Shut up an ANSI compiler about uninitialised variables.
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 10:57:09 +0000 (10:57 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 20 Mar 2003 10:57:09 +0000 (10:57 +0000)
PR: 517

crypto/pkcs12/p12_npas.c

index a549433eebb93134e0cb41c82d5a2c8a064defab..af708a27436e4b51de0294d70bafc5296a0b06b6 100644 (file)
@@ -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];