Author: rjung Date: Wed Apr 8 20:00:48 2015 New Revision: 1672157 URL: http://svn.apache.org/r1672157 Log: Update OpenSSL version check to 1.0.2. Add output of found version in clear text. Note: currently this check only warns, if version is too old, it does not fail configure!
Modified: tomcat/native/trunk/native/build/tcnative.m4 Modified: tomcat/native/trunk/native/build/tcnative.m4 URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/build/tcnative.m4?rev=1672157&r1=1672156&r2=1672157&view=diff ============================================================================== --- tomcat/native/trunk/native/build/tcnative.m4 (original) +++ tomcat/native/trunk/native/build/tcnative.m4 Wed Apr 8 20:00:48 2015 @@ -236,16 +236,16 @@ AC_ARG_ENABLE(openssl-version-check, [Check OpenSSL Version @<:@default=yes@:>@])]) case "$enable_openssl_version_check" in yes|'') - AC_MSG_CHECKING(OpenSSL library version) + AC_MSG_CHECKING(OpenSSL library version >= 1.0.2) AC_TRY_RUN([ #include <stdio.h> #include <openssl/opensslv.h> int main() { - if (OPENSSL_VERSION_NUMBER >= 0x009080bfL) + if (OPENSSL_VERSION_NUMBER >= 0x1000200fL) return (0); - printf("\n\nFound OPENSSL_VERSION_NUMBER %#010x\n", + printf("\n\nFound OPENSSL_VERSION_NUMBER %#010x (" OPENSSL_VERSION_TEXT ")\n", OPENSSL_VERSION_NUMBER); - printf("Require OPENSSL_VERSION_NUMBER 0x009080bf or greater (0.9.8k)\n\n"); + printf("Require OPENSSL_VERSION_NUMBER 0x1000200f or greater (1.0.2)\n\n"); return (1); } ], --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org