crypto: account for OpenSSL 1.1.0 function signature change.
In OpenSSL 1.1.0, SSL_CTX_sess_set_get_cb's callback has a slightly different function signature, see [1]. Account for that with an OPENSSL_VERSION_NUMBER check. This gets a little closer to 1.1.0 compatibility.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
crypto