]> sjero.net Git - wget/blobdiff - src/http.c
[svn] Tell the user about --no-check-certificate.
[wget] / src / http.c
index b32c3ee455bd74d903fa1f762f2a6c3750a3fdd8..c6e83decd1c9ae69f8ffb0cca0aebfd7cb40435a 100644 (file)
@@ -1516,7 +1516,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
 
       if (conn->scheme == SCHEME_HTTPS)
        {
-         if (!ssl_connect (sock) || !ssl_check_server_identity (sock, u->host))
+         if (!ssl_connect (sock) || !ssl_check_certificate (sock, u->host))
            {
              fd_close (sock);
              return CONSSLERR;