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

Richard Levitte via RT rt at openssl.org
Mon Dec 15 22:09:04 UTC 2014


I'm having a look at this (going through all xxx_DEBUG, might as well while I'm
at it)

On Fri Dec 12 20:06:48 2014, 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


--
Richard Levitte
levitte at openssl.org



More information about the openssl-dev mailing list