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

            Bug ID: 58737
           Summary: Compilation failure of httpd-2.4.18 on SLES 11 SP3
                    because of missing ";" in Line 220 of ssl_engine_io.c
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: mod_ssl
          Assignee: [email protected]
          Reporter: [email protected]

On SLES 11 SP3 there is a compilation error due to a missing semicolon.

How to reproduce:

./configure
make

Error message:

/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2
-pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I.
-I/root/apache/httpd-2.4.18/os/unix -I/root/apache/httpd-2.4.18/include
-I/usr/local/apr/include/apr-1 -I/root/apache/httpd-2.4.18/modules/aaa
-I/root/apache/httpd-2.4.18/modules/cache
-I/root/apache/httpd-2.4.18/modules/core
-I/root/apache/httpd-2.4.18/modules/database
-I/root/apache/httpd-2.4.18/modules/filters
-I/root/apache/httpd-2.4.18/modules/ldap
-I/root/apache/httpd-2.4.18/modules/loggers
-I/root/apache/httpd-2.4.18/modules/lua
-I/root/apache/httpd-2.4.18/modules/proxy
-I/root/apache/httpd-2.4.18/modules/session
-I/root/apache/httpd-2.4.18/modules/ssl
-I/root/apache/httpd-2.4.18/modules/test -I/root/apache/httpd-2.4.18/server
-I/root/apache/httpd-2.4.18/modules/arch/unix
-I/root/apache/httpd-2.4.18/modules/dav/main
-I/root/apache/httpd-2.4.18/modules/generators
-I/root/apache/httpd-2.4.18/modules/mappers -prefer-pic -c ssl_engine_io.c &&
touch ssl_engine_io.slo
ssl_engine_io.c: In function 'bio_filter_out_write':
ssl_engine_io.c:224: error: expected ';' before 'if'
make[4]: *** [ssl_engine_io.slo] Fehler 1
make[4]: Leaving directory `/root/apache/httpd-2.4.18/modules/ssl'
make[3]: *** [shared-build-recursive] Fehler 1
make[3]: Leaving directory `/root/apache/httpd-2.4.18/modules/ssl'
make[2]: *** [shared-build-recursive] Fehler 1
make[2]: Leaving directory `/root/apache/httpd-2.4.18/modules'

There is a semicolon missing at the end of this line:

#if OPENSSL_VERSION_NUMBER < 0x0009080df
     need_flush = !SSL_is_init_finished(outctx->filter_ctx->pssl)

(Yes, SLES 11 SP3 still feature "oldstable" openssl-0.9.8)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to