https://bz.apache.org/bugzilla/show_bug.cgi?id=68080

            Bug ID: 68080
           Summary: OPENSSL_NO_ENGINE from openssl/opensslconf.h
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ssl
          Assignee: bugs@httpd.apache.org
          Reporter: br...@freebsd.org
  Target Milestone: ---

Building with OpenSSL libraries that have OPENSSL_NO_ENGINE set in
openssl/opensslconf.h fail.

> --- ssl_engine_config.slo ---
> ssl_engine_config.c:618:13: warning: call to undeclared function 
> 'ENGINE_get_first'; ISO C99 and later do not support implicit function 
> declarations [-Wimplicit-function-declaration]
>         e = ENGINE_get_first();
>             ^
> ssl_engine_config.c:618:11: error: incompatible integer to pointer conversion 
> assigning to 'ENGINE *' (aka 'struct engine_st *') from 'int' 
> [-Wint-conversion]
>         e = ENGINE_get_first();
>           ^ ~~~~~~~~~~~~~~~~~~
> ssl_engine_config.c:624:17: warning: call to undeclared function 
> 'ENGINE_get_next'; ISO C99 and later do not support implicit function 
> declarations [-Wimplicit-function-declaration]
>             e = ENGINE_get_next(e);
>                 ^
> ssl_engine_config.c:624:15: error: incompatible integer to pointer conversion 
> assigning to 'ENGINE *' (aka 'struct engine_st *') from 'int' 
> [-Wint-conversion]
>             e = ENGINE_get_next(e);
>               ^ ~~~~~~~~~~~~~~~~~~
> 2 warnings and 2 errors generated.

Full build log
https://brnrd.eu/poudriere/data/140libre-default/2023-11-04_19h07m11s/logs/errors/apache24-2.4.58_1.log

Apache 2.4.58
FreeBSD 14.0-RC4
LibreSSL 3.8.2
apr 1.7.3
apr-utils 1.6.3
clang version 16.0.6
autoconf 2.71

Context from
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.8.1-relnotes.txt
>    - ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
>      of this, some stub functions are provided to avoid patching some
>      applications that do not honor OPENSSL_NO_ENGINE.
which unfortunately fails.

Workaround is to set ac_cv_func_ENGINE_init=no in configure environment, see
https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/www/apache-httpd/Makefile?rev=1.126.2.2&content-type=text/plain

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to