Module: Puma::MiniSSL
- Defined in:
- lib/puma.rb,
lib/puma/minissl.rb,
lib/puma/minissl/context_builder.rb,
ext/puma_http11/mini_ssl.c,
ext/puma_http11/mini_ssl.c
Defined Under Namespace
Classes: Context, ContextBuilder, Engine, SSLError, Server, Socket
Constant Summary collapse
- HAS_TLS1_3 =
Define constant at runtime, as it’s easy to determine at built time, but Puma could (it shouldn’t) be loaded with an older OpenSSL version
!IS_JRUBY && (OPENSSL_VERSION[/ \d+\.\d+\.\d+/].split('.').map(&:to_i) <=> [1,1,1]) != -1 && (OPENSSL_LIBRARY_VERSION[/ \d+\.\d+\.\d+/].split('.').map(&:to_i) <=> [1,1,1]) !=-1
- OPENSSL_NO_SSL3 =
True if SSL3 is not available
Qfalse- OPENSSL_NO_TLS1 =
True if TLS1 is not available
Qfalse- VERIFY_NONE =
0- VERIFY_PEER =
1- VERIFY_FAIL_IF_NO_PEER_CERT =
2- OPENSSL_VERSION =
Version of OpenSSL that Puma was compiled with
rb_str_new2(OPENSSL_VERSION_TEXT)
- OPENSSL_LIBRARY_VERSION =
Version of OpenSSL that Puma loaded with
rb_str_new2(SSLeay_version(SSLEAY_VERSION))
- OPENSSL_NO_TLS1_1 =
True if TLS1_1 is not available
Qfalse
Class Method Summary collapse
Class Method Details
.check ⇒ Object
478 479 480 |
# File 'ext/puma_http11/mini_ssl.c', line 478 VALUE noop(VALUE self) { return Qnil; } |