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

Paul A. Steckler via RT rt at openssl.org
Fri Dec 12 19:06:48 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testlog
Type: application/octet-stream
Size: 33364 bytes
Desc: not available
URL: <http://mta.opensslfoundation.net/pipermail/openssl-dev/attachments/20141212/ebc474d6/attachment-0001.obj>


More information about the openssl-dev mailing list