OpenSSL Development Team, My attempts to compile OpenSSL v.1.0.0m on the day of its release as well as last night both resulted in the same error, whereby INT_MAX is used before it is declared in ssl/s3_pkt.c on line 586.
Researching this error, I found a discussion among some of your developers, who experienced the same issue during their own compilation attempts. They created a bug report at http://rt.openssl.org/Ticket/Display.html?id=3376. The ticket was marked as resolved on 5.6.2014; however, I again downloaded the source from openssl.org last night and examined ssl/s3_pkt.c. I observed that the limits.h include statement is still omitted, thus producing the compilation error. I edited s3_pkt.c by adding #include <limits.h>, and successfully compiled OpenSSL 1.0.0m. ####################################################### Bug Report Information OS: Oracle Solaris 10 Sparc OpenSSL version: 1.0.0m Compilation Error: s3_pkt.c: In function `ssl3_write_bytes': s3_pkt.c:586: error: `INT_MAX' undeclared (first use in this function) s3_pkt.c:586: error: (Each undeclared identifier is reported only once s3_pkt.c:586: error: for each function it appears in.) make[1]: *** [s3_pkt.o] Error 1 make[1]: Leaving directory `/opt/temp/openssl-1.0.0m/ssl' make: *** [build_ssl] Error 1 Regards, J. Jeff Clemmer IT Specialist Phone: 434-980-7525 Email: john.j.clemmer4....@mail.mil ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org