summaryrefslogtreecommitdiff
path: root/ext/openssl/lib/openssl/ssl-internal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/lib/openssl/ssl-internal.rb')
-rw-r--r--ext/openssl/lib/openssl/ssl-internal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/lib/openssl/ssl-internal.rb b/ext/openssl/lib/openssl/ssl-internal.rb
index 04a9faa0b6..c70b5b8f6b 100644
--- a/ext/openssl/lib/openssl/ssl-internal.rb
+++ b/ext/openssl/lib/openssl/ssl-internal.rb
@@ -118,7 +118,7 @@ module OpenSSL
def post_connection_check(hostname)
unless OpenSSL::SSL.verify_certificate_identity(peer_cert, hostname)
- raise SSLError, "hostname was not match with the server certificate"
+ raise SSLError, "hostname does not match the server certificate"
end
return true
end