aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cms
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2012-05-10 20:29:00 +0000
committerBen Laurie <ben@openssl.org>2012-05-10 20:29:00 +0000
commit5762f7778da56b9502534fd236007b9a1b0244d9 (patch)
tree3d6bb9e06ed1811cbc5d555a4a1668a0a805f9e2 /crypto/cms
parent7a412ded50f3905ebceee7b884f2395d43eee4e3 (diff)
downloadopenssl-5762f7778da56b9502534fd236007b9a1b0244d9.tar.gz
Fix warning.
Diffstat (limited to 'crypto/cms')
-rw-r--r--crypto/cms/cms_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cms/cms_enc.c b/crypto/cms/cms_enc.c
index f873ce3794..bebeaf29c7 100644
--- a/crypto/cms/cms_enc.c
+++ b/crypto/cms/cms_enc.c
@@ -74,7 +74,7 @@ BIO *cms_EncryptedContent_init_bio(CMS_EncryptedContentInfo *ec)
X509_ALGOR *calg = ec->contentEncryptionAlgorithm;
unsigned char iv[EVP_MAX_IV_LENGTH], *piv = NULL;
unsigned char *tkey = NULL;
- size_t tkeylen;
+ size_t tkeylen = 0;
int ok = 0;