Permalink
Browse files

@host is the correct property to validate - not @address

  • Loading branch information...
1 parent ee33048 commit aa2b5de5d03515d27e95ee49adaad54b4753dbeb @rabbitt rabbitt committed Dec 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/amqp/server.rb
View
@@ -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

0 comments on commit aa2b5de

Please sign in to comment.