Skip to content

crypto: use SSL_get_SSL_CTX.

Rodrigo Muino Tomonari requested to merge github/fork/agl/sslgetsslctx into master
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

crypto

Description of change

SSL_get_SSL_CTX returns the SSL_CTX for an SSL. Previously the code accessed ssl->ctx directly, but that's no longer possible with OpenSSL 1.1.0.

SSL_get_SSL_CTX exists all the way back to (at least) OpenSSL 0.9.8 and so this change should be fully compatible.

Merge request reports

Loading