Sha256: c06fd658249c4350e51dddebdeed59c19e1879e446c091ab7bb77e8a41d03bad

Contents?: true

Size: 383 Bytes

Versions: 7

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Ftpd

  # This mixin provides an insecure SSL certificate.  This certificate
  # should only be used for testing.

  module InsecureCertificate

    # The path of an insecure SSL certificate.

    def insecure_certfile_path
      File.expand_path('../../insecure-test-cert.pem',
                       File.dirname(__FILE__))
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ftpd-2.1.0 lib/ftpd/insecure_certificate.rb
ftpd-2.0.5 lib/ftpd/insecure_certificate.rb
ftpd-2.0.4 lib/ftpd/insecure_certificate.rb
ftpd-2.0.3 lib/ftpd/insecure_certificate.rb
ftpd-2.0.2 lib/ftpd/insecure_certificate.rb
ftpd-2.0.1 lib/ftpd/insecure_certificate.rb
ftpd-2.0.0 lib/ftpd/insecure_certificate.rb