On 6/5/2014 3:06 PM, Matt Caswell via RT wrote:
On Thu Jun 05 20:40:49 2014, [email protected] wrote:
File ssl/s3_pkt.c uses INT_MAX since May 19th. This macro is defined in
limits.h which is not included in s3_pkt.c.
+#include <limits.h>
#include <stdio.h>
#include <limits.h>
Hmmm....look two lines down from where you've added an include for limits.h???

Matt


I think maybe he just added it twice because it is missing. I noticed the same thing when I tried to build this afternoon.

s3_pkt.c: In function 'ssl3_write_bytes':
s3_pkt.c:586:2: error: 'INT_MAX' undeclared (first use in this function)
s3_pkt.c:586:2: note: each undeclared identifier is reported only once for each function it appears in


--- openssl-1.0.0m-orig/ssl/s3_pkt.c    2014-06-05 05:41:31 -0400
+++ openssl-1.0.0m/ssl/s3_pkt.c 2014-06-05 15:19:43 -0400
@@ -110,6 +110,7 @@
  */
 
 #include <stdio.h>
+#include <limits.h>
 #include <errno.h>
 #define USE_SOCKETS
 #include "ssl_locl.h"

Reply via email to