X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fopenssl.c;fp=src%2Fopenssl.c;h=4eab376f64beb2cb68e3af0799073b18db94b641;hp=b725a065f8336aec2d15a3a923fb624f379e1793;hb=8624553a31b148f9051cc11725bc01d9760fa07b;hpb=4eeabffee6e5b348d36c4f3ba0579ed086226603 diff --git a/src/openssl.c b/src/openssl.c index b725a065..4eab376f 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -459,10 +459,10 @@ ssl_connect_wget (int fd, const char *hostname) if (! is_valid_ip_address (hostname)) { if (! SSL_set_tlsext_host_name (conn, hostname)) - { - DEBUGP (("Failed to set TLS server-name indication.")); - goto error; - } + { + DEBUGP (("Failed to set TLS server-name indication.")); + goto error; + } } #endif @@ -712,7 +712,7 @@ ssl_check_certificate (int fd, const char *host) success = false; } } - + if (alt_name_checked == false) { /* Test commomName */