Skip to content

Commit 2ca79f6

Browse files
authored
🔀 Merge pull request #534 from ruby/drop-automatic-VerifyCallbackProc
💥 Don't set `verify_callback` to `VerifyCallbackProc`
2 parents 8804470 + 6d5c233 commit 2ca79f6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/net/imap.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3780,9 +3780,6 @@ def build_ssl_ctx(ssl)
37803780
params = (Hash.try_convert(ssl) || {}).freeze
37813781
context = OpenSSL::SSL::SSLContext.new
37823782
context.set_params(params)
3783-
if defined?(VerifyCallbackProc)
3784-
context.verify_callback = VerifyCallbackProc
3785-
end
37863783
context.freeze
37873784
[params, context]
37883785
else

0 commit comments

Comments
 (0)