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.malc...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to