[openssl-users] Warnings Compiling openssl 1.0.2d

Tom Browder tom.browder at gmail.com
Tue Jul 21 14:33:55 UTC 2015


On Sun, Jul 19, 2015 at 11:00 AM, Tom Browder <tom.browder at gmail.com> wrote:
> On Thu, Jul 9, 2015 at 12:00 PM, Viktor Dukhovni
>> That surely means that you're compiling some patched version or
>> not even 1.0.2d.
>
> No, it's the correct version.
>
> But just now, after building gcc-5.2.0 and using it to rebuild
> openssl, all the warnings went away just as Matt said (although the
> jobserver doesn't work for some reason).

I lied.  After rebuilding gcc 5.2.0 and rechecking I get the following
warnings from building 1.0.2d:

ec_key.c: In function 'EC_KEY_set_public_key_affine_coordinates':
ec_key.c:369:26: warning: variable 'is_char_two' set but not used
[-Wunused-but-set-variable]
     int ok = 0, tmp_nid, is_char_two = 0;
                          ^
d1_both.c: In function 'dtls1_retransmit_message':
d1_both.c:1261:9: warning: 'save_write_sequence' may be used
uninitialized in this function [-Wmaybe-uninitialized]
         memcpy(s->s3->write_sequence, save_write_sequence,
         ^

Best,

-Tom


More information about the openssl-users mailing list