[openssl-dev] [openssl.org #3635] Build error with 1.0.2-beta3

Paul A. Steckler via RT rt at openssl.org
Sat Dec 13 07:15:32 UTC 2014


Please note that in the testlog I had attached to my earlier message,
there was a
"bad decrypt" error message for des-ede-cbc.

That's not an issue for me, particularly, but it may be for others!

-- Paul

On Fri, Dec 12, 2014 at 11:03 AM, Paul A. Steckler <steck at stecksoft.com> wrote:
> Hi,
>
>   I'm trying to build 1.0.2-beta3 on Fedora 20 x86_64. I've configured
> with some xxx_DEBUG
> flags, which results in a compile failure in ssl/t1_enc.c. See the
> attached testlog for
> the exact flags used.
>
>   Application details: N/A
>
>   Problem Description:
>
>     These compile-time (warnings and) errors:
> --
> t1_enc.c: In function ‘tls1_enc’:
> t1_enc.c:843:4: warning: format ‘%d’ expects argument of type ‘int’,
> but argument 4 has type ‘long unsigned int’ [-Wformat=]
>     ds->cipher->iv_len);
>     ^
> t1_enc.c:843:4: warning: format ‘%d’ expects argument of type ‘int’,
> but argument 5 has type ‘long unsigned int’ [-Wformat=]
> t1_enc.c: In function ‘tls1_mac’:
> t1_enc.c:1075:59: error: ‘mac_sec’ undeclared (first use in this function)
>  {unsigned int z; for (z=0; z<md_size; z++) printf("%02X
> ",mac_sec[z]); printf("\n"); }
>                                                            ^
> t1_enc.c:1075:59: note: each undeclared identifier is reported only
> once for each function it appears in
> t1_enc.c:1079:44: error: ‘buf’ undeclared (first use in this function)
>  {int z; for (z=0; z<5; z++) printf("%02X ",buf[z]); printf("\n"); }
>                                             ^
> t1_enc.c: In function ‘tls1_export_keying_material’:
> t1_enc.c:1176:2: warning: format ‘%d’ expects argument of type ‘int’,
> but argument 4 has type ‘size_t’ [-Wformat=]
>   printf ("tls1_export_keying_material(%p,%p,%d,%s,%d,%p,%d)\n", s,
> out, olen, label, llen, context, contextlen);
>   ^
> t1_enc.c:1176:2: warning: format ‘%d’ expects argument of type ‘int’,
> but argument 6 has type ‘size_t’ [-Wformat=]
> t1_enc.c:1176:2: warning: format ‘%d’ expects argument of type ‘int’,
> but argument 8 has type ‘size_t’ [-Wformat=]
> --
>
>   Stack traceback: N/A
>
> -- Paul




More information about the openssl-dev mailing list