Sebastian Spaeth 9b85ffef89 Only verify hostname if we actually use CA certs
The current code path checked the CA cert host name, even if we did not
specify a CA cert file to use. Make the host name check dependent on a
CA cert file.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-01-18 18:39:38 +01:00
..
2010-12-09 19:52:48 +01:00
2010-12-09 19:52:48 +01:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00