summaryrefslogtreecommitdiffstats
path: root/crypto/evp/p5_crpt2.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2010-02-28 14:22:56 +0000
committerBen Laurie <ben@openssl.org>2010-02-28 14:22:56 +0000
commit19ec2f4194cabf30f15ae2b7903d597ef38b024a (patch)
treebbcc573a4f444b64fd26c4f7adfbdde6596d4b97 /crypto/evp/p5_crpt2.c
parent2b13f80360c321ce7cd336a286a057489bac9660 (diff)
Fix warnings (note that gcc 4.2 has a bug that makes one of its
warnings hard to fix without major surgery).
Diffstat (limited to 'crypto/evp/p5_crpt2.c')
-rw-r--r--crypto/evp/p5_crpt2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c
index 176e93eabc..975d004df4 100644
--- a/crypto/evp/p5_crpt2.c
+++ b/crypto/evp/p5_crpt2.c
@@ -235,7 +235,7 @@ int PKCS5_v2_PBKDF2_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
const unsigned char *pbuf;
int saltlen, iter, plen;
int rv = 0;
- unsigned int keylen;
+ unsigned int keylen = 0;
int prf_nid, hmac_md_nid;
PBKDF2PARAM *kdf = NULL;
const EVP_MD *prfmd;