summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12/p12_npas.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-03-20 10:57:09 +0000
committerRichard Levitte <levitte@openssl.org>2003-03-20 10:57:09 +0000
commit42a559163dad698265cc0b23b41dc8ded58ff76d (patch)
tree593cd4794e43be4b2975585b460542e796d00f4b /crypto/pkcs12/p12_npas.c
parent3285eb336ceae667d95fe356a8366dfa24c9ae3b (diff)
Shut up an ANSI compiler about uninitialised variables.
PR: 517
Diffstat (limited to 'crypto/pkcs12/p12_npas.c')
-rw-r--r--crypto/pkcs12/p12_npas.c2
1 files changed, 1 insertions, 1 deletions
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];