Class: LetsCert::PatchedECPkey
- Inherits:
-
OpenSSL::PKey::EC
- Object
- OpenSSL::PKey::EC
- LetsCert::PatchedECPkey
- Defined in:
- lib/letscert/patched_ec_pkey.rb
Overview
Ruby < 2.4 has bugs in OpenSSL. This class patches these bugs.
Class Method Summary collapse
-
.needed? ⇒ Boolean
Say if PatchedECPkey is needed.
Class Method Details
.needed? ⇒ Boolean
Say if LetsCert::PatchedECPkey is needed
12 13 14 |
# File 'lib/letscert/patched_ec_pkey.rb', line 12 def self.needed? RbConfig::CONFIG['MAJOR'] == '2' && RbConfig::CONFIG['MINOR'].to_i < 4 end |