openssl/util
Christian Heimes 3edabd3ccb Provide getters for min/max proto version
OpenSSL 1.1.0 made SSL_CTX and SSL structs opaque and introduced a new
API to set the minimum and maximum protocol version for SSL_CTX with
TLS_method(). Add getters to introspect the configured versions:

  int SSL_CTX_get_min_proto_version(SSL_CTX *ctx);
  int SSL_CTX_get_max_proto_version(SSL_CTX *ctx);
  int SSL_get_min_proto_version(SSL *ssl);
  int SSL_get_max_proto_version(SSL *ssl);

NOTE: The getters do not resolv the version in case when the minimum or
maxium version are configured as '0' (meaning auto-select lowest and
highst version number).

Signed-off-by: Christian Heimes <christian@python.org>

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4364)
2017-09-15 10:04:47 -05:00
..
perl Fix OpenSSL::Test::Utils::config to actualy load the config data 2017-09-01 22:52:30 +02:00
build.info
ck_errf.pl
copy.pl
dofile.pl
find-doc-nits
find-unused-errs
indent.pro
libcrypto.num Support EVP_PKEY_meth_remove and pmeth internal cleanup 2017-09-14 12:41:34 +08:00
libssl.num Rename SSL_CTX_set_early_cb to SSL_CTX_set_client_hello_cb. 2017-09-08 13:58:59 -05:00
local_shlib.com.in
mkbuildinf.pl
mkdef.pl util/mkdef.pl: handle line terminators correctly 2017-08-31 19:20:30 +02:00
mkdir-p.pl
mkerr.pl
mkrc.pl
openssl-format-source
opensslwrap.sh
private.num Provide getters for min/max proto version 2017-09-15 10:04:47 -05:00
process_docs.pl
shlib_wrap.sh.in
su-filter.pl
unlocal_shlib.com.in