mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Don't default to VERIFY_PEER. Fixes #1028
This commit is contained in:
parent
433b885d61
commit
60fb8acb9c
1 changed files with 1 additions and 3 deletions
|
@ -181,7 +181,7 @@ module Puma
|
|||
ctx.ca = params['ca'] if params['ca']
|
||||
end
|
||||
|
||||
if params['verify_mode']
|
||||
if params['verify_mode']
|
||||
ctx.verify_mode = case params['verify_mode']
|
||||
when "peer"
|
||||
MiniSSL::VERIFY_PEER
|
||||
|
@ -193,8 +193,6 @@ module Puma
|
|||
@events.error "Please specify a valid verify_mode="
|
||||
MiniSSL::VERIFY_NONE
|
||||
end
|
||||
else
|
||||
ctx.verify_mode = MiniSSL::VERIFY_PEER
|
||||
end
|
||||
|
||||
if fd = @inherited_fds.delete(str)
|
||||
|
|
Loading…
Add table
Reference in a new issue