Hi, As far as I can tell, the problem should be fixed as off commit 8bc8450a26329e3c890df60026f969e7caabff3d (for the 1.0.2 branch, I did apply the same changes to master and 1.0.1 branch as well). I went through all the available xxx_DEBUG macros to make sure they'd all be clear (at least with gcc).
Cheers, Richard On Fri Dec 12 20:06:48 2014, [email protected] 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 [email protected] _______________________________________________ openssl-dev mailing list [email protected] https://mta.opensslfoundation.net/mailman/listinfo/openssl-dev
