]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
configure: check if &errno is thread-local for OpenSSL
authorJacob Champion <jchampion@apache.org>
Tue, 11 Apr 2017 23:59:31 +0000 (23:59 +0000)
committerJacob Champion <jchampion@apache.org>
Tue, 11 Apr 2017 23:59:31 +0000 (23:59 +0000)
commitd3ed155819ce13c16bec637e44b886a8d5d63918
tree8cc2ac6a1579c8ede2c09945fd520dd79540870c
parent2c968e2e378729d9c6c620d8a794311c1835abe0
configure: check if &errno is thread-local for OpenSSL

This is step one for fixing, or at least mitigating, PR60947. Determine
which platforms can use the default OpenSSL (1.0.x) threadid-callback,
by recording the address of errno for several threads and testing that
they're all different.

The result of this test is put into the new macro,
AP_OPENSSL_USE_ERRNO_THREADID.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/trunk-openssl-threadid@1791054 13f79535-47bb-0310-9956-ffa450edef68
acinclude.m4