instance method
OpenSSL::SSL::SSLContext#options
() -> ::Integer
ctx.options → integer
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_sslctx_get_options(VALUE self)
{
SSL_CTX *ctx;
GetSSLCTX(self, ctx);
/*
* Do explicit cast because SSL_CTX_get_options() returned (signed) long in
* OpenSSL before 1.1.0.
*/
return ULONG2NUM((unsigned long)SSL_CTX_get_options(ctx));
}
Gets various OpenSSL options.
See also
#options=
#min_version=
#max_version=
#security_level
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0