I configure with the following options:

$ ./config --prefix=/opt/openssl --openssldir=/opt/openssl \
    no-rc5 no-idea
$ make depend

Then, with command:

$ make

I get the following warning:

make[2]: Entering directory `/opt/ssl-wrk/openssl-1.0.1c/crypto/cms'
...
cms_enc.c: In function 'cms_EncryptedContent_init_bio':
cms_enc.c:77: warning: 'tkeylen' may be used uninitialized in this function

When I change line 77 in crypto/cms/cms_enc.c from:

        size_t tkeylen;

to:

        size_t tkeylen = 0;

make clean, configure, make depend, and make again, I get no warnings.

Best regards,

-Tom

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to