Fix warning.
authorBen Laurie <ben@openssl.org>
Thu, 10 May 2012 20:29:00 +0000 (20:29 +0000)
committerBen Laurie <ben@openssl.org>
Thu, 10 May 2012 20:29:00 +0000 (20:29 +0000)
crypto/cms/cms_enc.c

index f873ce3794452a1ba64cbae3f98b68c09076f256..bebeaf29c7bad36efb75faad841cf6527e400f31 100644 (file)
@@ -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;