tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1805870 - /tomcat/native/trunk/native/src/ssl.c
Date Wed, 23 Aug 2017 09:33:49 GMT
Author: markt
Date: Wed Aug 23 09:33:49 2017
New Revision: 1805870

URL: http://svn.apache.org/viewvc?rev=1805870&view=rev
Log:
Partial fix for https://bz.apache.org/bugzilla/show_bug.cgi?id=58434
Fix an error when trying to build with libressl
Note: Other errors and warnings still to be fixed

Modified:
    tomcat/native/trunk/native/src/ssl.c

Modified: tomcat/native/trunk/native/src/ssl.c
URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/ssl.c?rev=1805870&r1=1805869&r2=1805870&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/ssl.c (original)
+++ tomcat/native/trunk/native/src/ssl.c Wed Aug 23 09:33:49 2017
@@ -782,8 +782,10 @@ TCN_IMPLEMENT_CALL(jint, SSL, initialize
                 && (ee = ssl_try_load_engine(J2S(engine))) == NULL)
                 err = APR_ENOTIMPL;
             else {
-                if (strcmp(J2S(engine), "chil") == 0)
+#ifdef ENGINE_CTRL_CHIL_SET_FORKCHECK
+            	if (strcmp(J2S(engine), "chil") == 0)
                     ENGINE_ctrl(ee, ENGINE_CTRL_CHIL_SET_FORKCHECK, 1, 0, 0);
+#endif
                 if (!ENGINE_set_default(ee, ENGINE_METHOD_ALL))
                     err = APR_ENOTIMPL;
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message