]> granicus.if.org Git - curl/commit
openssl: fix subjectAltName check on non-ASCII platforms
authorStephan Mühlstrasser <stm@pdflib.com>
Fri, 13 Apr 2018 12:04:11 +0000 (14:04 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Apr 2018 14:55:31 +0000 (16:55 +0200)
commitb0a50227c07654e47598c90fe55cee1c890cc4a4
tree61724a90d7c6e0d4f82ecaee7a02593cb9cc586a
parenta3f385393ae63c99ab6e508d3b720a1da04c2f67
openssl: fix subjectAltName check on non-ASCII platforms

Curl_cert_hostcheck operates with the host character set, therefore the
ASCII subjectAltName string retrieved with OpenSSL must be converted to
the host encoding before comparison.

Closes #2493
lib/vtls/openssl.c