certcheck: use the custom Host: name for checks
authorDaniel Stenberg <daniel@haxx.se>
Thu, 4 Nov 2010 14:18:35 +0000 (15:18 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 4 Nov 2010 14:18:35 +0000 (15:18 +0100)
commitb0fd03f5b8d4520dd232a9d13567d16bd0ad8951
tree4ab8d848deec51892da2f3bcb58e9448423e5bc4
parent4b2fbe1e97891f9a861363c4bf7aa0473c94e0ab
certcheck: use the custom Host: name for checks

If you use a custom Host: name in a request to a SSL server, libcurl
will now use that given name when it verifies the server certificate to
be correct rather than using the host name used in the actual URL.
lib/ssluse.c