]> granicus.if.org Git - apache/commit
ab: don't call malloc_init for OpenSSL 1.1.0
authorJacob Champion <jchampion@apache.org>
Mon, 22 May 2017 16:40:54 +0000 (16:40 +0000)
committerJacob Champion <jchampion@apache.org>
Mon, 22 May 2017 16:40:54 +0000 (16:40 +0000)
commit4b2a7701b1e94b0fbcd09c794941081ec59ce1e5
treeb7607c2634a7207ba3db4df538f9a8df08e25abc
parentbe128ce47d82b9154bf606a4220c3a61a60fbe1f
ab: don't call malloc_init for OpenSSL 1.1.0

Patch by rjung.

The 1.1.0 compatibility macro for OpenSSL_malloc_init() causes problems
when mixed with procedure linkage stubs with some toolchains (e.g. GCC).
OpenSSL's malloc implementation doesn't recognize that the PLT stub
points back to it, which leads to infinite recursion.

Since the 1.1.0 documentation states that calling this function
explicitly is no longer necessary except "in certain shared-library
situations"(?), get rid of it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1795830 13f79535-47bb-0310-9956-ffa450edef68
support/ab.c