]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Add --random-file option. Bail out in case of error during
[wget] / src / options.h
index 48c8fd005a6e93038446e69350d4ad4e135122a0..6e968aac331de239cb5e82480f2e6364032c3407 100644 (file)
@@ -167,18 +167,19 @@ struct options
   } secure_protocol;           /* type of secure protocol to use. */
   int check_cert;              /* whether to validate the server's cert */
   char *cert_file;             /* external client certificate to use. */
-  char *cert_key;              /* the keyfile for this certificate
-                                  (if not internal) included in the
-                                  certfile. */
-  enum {
-    cert_type_pem,
-    cert_type_asn1
-  } cert_type;                 /* type of client certificate */
+  char *private_key;           /* private key file (if not internal). */
+  enum keyfile_type {
+    keyfile_pem,
+    keyfile_asn1
+  } cert_type;                 /* type of client certificate file */
+  enum keyfile_type
+    private_key_type;          /* type of private key file */
 
   char *ca_directory;          /* CA directory (hash files) */
   char *ca_cert;               /* CA certificate file to use */
 
 
+  char *random_file;           /* file with random data to seed the PRNG */
   char *egd_file;              /* file name of the egd daemon socket */
 #endif /* HAVE_SSL */