Skip to content

Commit

Permalink
@host is the correct property to validate - not @address
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitt committed Dec 11, 2010
1 parent ee33048 commit aa2b5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amqp/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def start_ssl
@socket.connect

if ctx.verify_mode != OpenSSL::SSL::VERIFY_NONE
@socket.post_connection_check(@address)
@socket.post_connection_check(@host)
end
end

Expand Down

0 comments on commit aa2b5de

Please sign in to comment.