projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3285eb3
)
Shut up an ANSI compiler about uninitialised variables.
author
Richard Levitte
<levitte@openssl.org>
Thu, 20 Mar 2003 10:57:09 +0000
(10:57 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 20 Mar 2003 10:57:09 +0000
(10:57 +0000)
PR: 517
crypto/pkcs12/p12_npas.c
patch
|
blob
|
history
diff --git
a/crypto/pkcs12/p12_npas.c
b/crypto/pkcs12/p12_npas.c
index a549433eebb93134e0cb41c82d5a2c8a064defab..af708a27436e4b51de0294d70bafc5296a0b06b6 100644
(file)
--- 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];