[openssl-dev] How to get SSL version from SSL_SESSION using OpenSSL-1.1.x?

TJ Saunders tj at castaglia.org
Thu May 26 21:27:38 UTC 2016


I'm currently working on updating proftpd and its various modules to
work with the changed APIs in OpenSSL-1.1.x.  My current obstacle(?) is
to determine the SSL protocol version, given an SSL_SESSION pointer.

Using OpenSSL-1.0.x, I currently use:

  ssl_version = sess->ssl_version;

However, I don't see an equivalent accessor in the 1.1.x APIs.  Have I
missed something, or does such a thing not exist yet?

Cheers,
TJ


More information about the openssl-dev mailing list