Browse Source

Shut up an ANSI compiler about uninitialised variables.

PR: 517
master
Richard Levitte 20 years ago
parent
commit
42a559163d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      crypto/pkcs12/p12_npas.c

+ 1
- 1
crypto/pkcs12/p12_npas.c View 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];


Loading…
Cancel
Save