summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-12-02 14:39:41 +0000
committerBen Laurie <ben@openssl.org>2011-12-02 14:39:41 +0000
commit825e1a7c56c5a03efcdba63ac9f0f348037bf02f (patch)
treeaeefe58a1d59119be396ff668d657110539dfba8 /crypto/evp
parent9f2b453338dcbb94bc4ea4f8df27e156712b77c6 (diff)
Fix warnings.
Diffstat (limited to 'crypto/evp')
-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;