]> granicus.if.org Git - libevent/commit
Do not check for ERR_remove_thread_state() (do not link ssl into every library)
authorPierce Lopez <pierce.lopez@gmail.com>
Fri, 3 Mar 2017 02:09:32 +0000 (21:09 -0500)
committerAzat Khuzhin <a3at.mail@gmail.com>
Sun, 5 Mar 2017 22:39:29 +0000 (01:39 +0300)
commit5d18d87916728df67640bd225967c6d6df4a54f8
tree57f0c347f8900343121ca193161501d246983252
parent8df81546f3f25ac83888eca31843484703232492
Do not check for ERR_remove_thread_state() (do not link ssl into every library)

This reverts commit c4e9d9bd662de7f575f2172c160795d452ebe709
("sample/https-client: check for ERR_remove_thread_state() existence").

Calling AC_SEARCH_LIBS() modifies LIBS - -lcrypto incorrectly
ends up in LIBS, and thus linked to by libevent_core.so.

Checking for ERR_remove_thread_state should no longer be needed
because it was introduced in openssl 1.0.0, and the previous line
0.9.8 had support discontinued at the end of 2015.

Fixes: #473
CMakeLists.txt
configure.ac
event-config.h.cmake
sample/https-client.c