]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Do not assign OpenSSL callbacks if not needed 1850/head
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Wed, 23 Nov 2016 08:27:45 +0000 (10:27 +0200)
committerNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Wed, 7 Dec 2016 12:44:05 +0000 (14:44 +0200)
commitd76870559eb6893374c43afe3bde3f760607a656
tree9b9dccbba3a7266f4669ef22f6f46c1ffc56195b
parent1ce96912e751af095d40c06449bcf671387a2b76
Do not assign OpenSSL callbacks if not needed

Check if CRYPTO_set_id_callback and CRYPTO_set_locking_callback are
defined as functions (as opposed to stub macros), and if they aren't,
don't call them and don't define the corresponding callbacks.

This avoids the "unused function" warnings with OpenSSL v1.1.
configure
configure.ac
src/include/autoconf.h.in
src/main/threads.c