tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58434] New: Make Fails Against LibreSSL
Date Mon, 21 Sep 2015 06:32:35 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58434

            Bug ID: 58434
           Summary: Make Fails Against LibreSSL
           Product: Tomcat Native
           Version: 1.1.33
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
          Assignee: dev@tomcat.apache.org
          Reporter: antonio.malcolm@gmail.com

Building the tomcat-native library from source on a Linux distro with LibreSSL
results in the following error during make:

src/ssl.c: In function 'Java_org_apache_tomcat_jni_SSL_initialize':
src/ssl.c:692:37: error: 'ENGINE_CTRL_CHIL_SET_FORKCHECK' undeclared (first use
in this function)
                     ENGINE_ctrl(ee, ENGINE_CTRL_CHIL_SET_FORKCHECK, 1, 0, 0);
                                     ^
src/ssl.c:692:37: note: each undeclared identifier is reported only once for
each function it appears in
/usr/local/server/src/tomcat-native-1.1.33-src/jni/native/build/rules.mk:206:
recipe for target 'src/ssl.lo' failed

Suggested fix: Check for LibreSSL, which doesn't have macro
ENGINE_CTRL_CHIL_SET_FORKCHECK (or the chil engine, from researching the issue)

If it helps, this same issue was found with building Apache HTTPD and resolved:
https://bz.apache.org/bugzilla/show_bug.cgi?id=57375

The committed fix can be found here:
https://svn.apache.org/viewvc?view=revision&revision=1673900

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message