openssl: exception message wording improvement
When a new connection is created, the hostname of the target is checked against the name in the certificate. If they do not match, an exception is raised. The wording of the message is not quite correct English.
It currently reads: "hostname was not match with the server certificate"
I suggest that it would be better if it read: "hostname does not match the server certificate", but if a smaller change were desired, it could be changed to "hostname was not matched with the server certificate".
A patch against the trunk with my suggested wording is attached
- Fixed exception message for SSL post connection check failure. Patch by Paul Betteridge. ref [Bug #3704]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e