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

Attachment: testlog
Description: Binary data

_______________________________________________
openssl-dev mailing list
[email protected]
https://mta.opensslfoundation.net/mailman/listinfo/openssl-dev

Reply via email to