Move OpenSSL init out of version check
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Wed, 11 Feb 2015 14:24:23 +0000 (15:24 +0100)
committerNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Wed, 11 Feb 2015 16:07:50 +0000 (17:07 +0100)
commit2c0c94eae5ec9b22272d1b21181c0e2876506b96
treeb07bc0afeba96c594d68af1ee3d836d6fd5719ee
parent5c9ef84f83aa34e3b72afd27439c2ac4ed28b134
Move OpenSSL init out of version check

Initialize OpenSSL outside ssl_version_check() to execute even with
disabled version check. Otherwise SSL_CTX_new() returns zero and
FreeRADIUS segfaults in init_tls_ctx with version check disabled.
src/main/radiusd.c
src/main/version.c