]> sjero.net Git - wget/blobdiff - src/gen_sslfunc.c
[svn] Fix warning message text; mark the warning message as translatable.
[wget] / src / gen_sslfunc.c
index 5b13f992a5831350f3208cdb386f1e6ef850db0a..44b5414a22a7c7a6d12f6c5faf1b2f68361fa36f 100644 (file)
@@ -219,12 +219,14 @@ ssl_init ()
     {
       if (!can_validate)
        {
-         logprintf (LOG_NOTQUIET, "Warrining validation of Server Cert not possible!\n");
+         logputs (LOG_NOTQUIET,
+                  _("Warning: validation of server certificate not possible!\n"));
          verify = SSL_VERIFY_NONE;
        }
      else
        {
-         /* break handshake if server cert is not valid but allow NO-Cert mode */
+         /* break handshake if server cert is not valid but allow
+            NO-Cert mode */
          verify = SSL_VERIFY_PEER;
        }
     }