]> sjero.net Git - wget/commitdiff
[svn] Wrap private key commands in #ifdef HAVE_SSL.
authorhniksic <devnull@localhost>
Wed, 27 Apr 2005 18:27:57 +0000 (11:27 -0700)
committerhniksic <devnull@localhost>
Wed, 27 Apr 2005 18:27:57 +0000 (11:27 -0700)
src/ChangeLog
src/init.c

index bb03ff3bfd5889142583f756b4b63885632cdca1..d15c340dc0d4e0ea25a18bde0940105e2b33f030 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * init.c: Wrap private key commands in IF_SSL.
+
 2005-04-27  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * openssl.c (ssl_init): Ditto.
index a52ce5117ba1ec5d5477a4147f535d6610c643aa..9a341ab2d783e4170d9bbc36ab5d6559a70038b9 100644 (file)
@@ -195,8 +195,10 @@ static struct {
   { "postfile",                &opt.post_file_name,    cmd_file },
   { "preferfamily",    NULL,                   cmd_spec_prefer_family },
   { "preservepermissions", &opt.preserve_perm, cmd_boolean },
+#ifdef HAVE_SSL
   { "privatekey",      &opt.private_key,       cmd_file },
   { "privatekeytype",  &opt.private_key_type,  cmd_cert_type },
+#endif
   { "progress",                &opt.progress_type,     cmd_spec_progress },
   { "protocoldirectories", &opt.protocol_directories, cmd_boolean },
   { "proxypasswd",     &opt.proxy_passwd,      cmd_string },