Sha256: 3ecb7090c8c8bf13033210d3a678be986ddb72ecdefcf2101c2da20a5d30b09f

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require 'openssl'

if defined? OpenSSL::OCSP
  require 'cert_validator/ocsp/real_validator.rb'

  CertValidator::OcspValidator = CertValidator::RealOcspValidator
else
  require 'cert_validator/ocsp/null_validator.rb'

  # use the null validator as a fallback
  CertValidator::OcspValidator = CertValidator::NullOcspValidator
end
2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cert_validator-0.0.1 lib/cert_validator/ocsp.rb