class LetsCert::PatchedECPkey

Ruby < 2.4 has bugs in OpenSSL. This class patches these bugs. @author Sylvain Daubert

Public Class Methods

needed?() click to toggle source

Say if {PatchedECPkey} is needed @return [Boolean]

# File lib/letscert/patched_ec_pkey.rb, line 12
def self.needed?
  RbConfig::CONFIG['MAJOR'] == '2' && RbConfig::CONFIG['MINOR'].to_i < 4
end