Skip to content

crypto: account for OpenSSL 1.1.0 function signature change.

Rodrigo Muino Tomonari requested to merge github/fork/davidben/sess-set-get into master

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.

[1] https://git.openssl.org/gitweb/?p=openssl.git;a=blob;f=include/openssl/ssl.h;h=41cb36e9438e1debf4f1abba47f2d8d273883ffa;hb=abd30777cc72029e8a44e4b67201cae8ed3d19c1#l618

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

crypto

Merge request reports

Loading