]> sjero.net Git - wget/blobdiff - src/http.c
[svn] Allow separate specification of certificate type and private key type.
[wget] / src / http.c
index 77861d89d859a2985119a9848e982af3e2ca222a..5d382deb3439a6adf58c3bef6e81d7161ee5e7e4 100644 (file)
@@ -64,7 +64,7 @@ extern int errno;
 #include "connect.h"
 #include "netrc.h"
 #ifdef HAVE_SSL
-# include "gen_sslfunc.h"
+# include "ssl.h"
 #endif
 #ifdef ENABLE_NTLM
 # include "http-ntlm.h"
@@ -1197,14 +1197,14 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
          /* try without certfile */
          logprintf (LOG_NOTQUIET,
                     _("Failed to load certificates from %s\n"),
-                    opt.sslcertfile);
+                    opt.cert_file);
          logprintf (LOG_NOTQUIET,
                     _("Trying without the specified certificate\n"));
          break;
        case SSLERRCERTKEY:
          logprintf (LOG_NOTQUIET,
-                    _("Failed to get certificate key from %s\n"),
-                    opt.sslcertkey);
+                    _("Failed to get private key from %s\n"),
+                    opt.private_key);
          logprintf (LOG_NOTQUIET,
                     _("Trying without the specified certificate\n"));
          break;