Skip to content

Commit 357585d

Browse files
authored
Merge pull request #308 from ekohl/trim-openssl-monkey-patch
Reduce OpenSSL monkey patch to only calling set_params
2 parents 07409f9 + 8bf3852 commit 357585d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/puppet/util/monkey_patches.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ class OpenSSL::SSL::SSLContext
4848

4949
def initialize(*args)
5050
__original_initialize(*args)
51-
params = {
52-
:options => DEFAULT_PARAMS[:options],
53-
:ciphers => DEFAULT_PARAMS[:ciphers],
54-
}
55-
set_params(params)
51+
set_params
5652
end
5753
end
5854
end

0 commit comments

Comments
 (0)