Skip to content

Commit

Permalink
Since Config.java is deprecated, adding the ConfigError and the
Browse files Browse the repository at this point in the history
DEFAULT_CONFIG_FILE constant to ruby fule
  • Loading branch information
Edipo Federle authored and Edipo Federle committed May 20, 2024
1 parent c201ae3 commit 20093bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/openssl/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
require 'stringio'

module OpenSSL
class ConfigError;end

##
# = OpenSSL::Config
#
Expand All @@ -27,6 +29,9 @@ module OpenSSL
class Config
include Enumerable

# on MRI this constant is set by calling the openssl C function: CONF_get1_default_config_file
DEFAULT_CONFIG_FILE = nil

class << self

##
Expand Down

0 comments on commit 20093bb

Please sign in to comment.