]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Implement several SSL features.
[wget] / src / options.h
index c6438602514cab7a96193f310d442033b9a81848..2ecfecad359d8fb329c0265eda8a864046f832bf 100644 (file)
@@ -154,11 +154,16 @@ struct options
                                   necessary to display a page properly. */
   char *bind_address;          /* What local IP address to bind to. */
 #ifdef HAVE_SSL
+  char *sslcadir;              /* CA directory (hash files) */
+  char *sslcafile;             /* CA File to use */
   char *sslcertfile;           /* external client cert to use. */
   char *sslcertkey;            /* the keyfile for this certificate
                                   (if not internal) included in the
                                   certfile. */
+  int   sslcerttype;           /* 0 = PEM / 1=ASN1 (DER) */
+  int   sslcheckcert;          /* 0 do not check / 1 check server cert */
   char *sslegdsock;             /* optional socket of the egd daemon */
+  int   sslprotocol;           /* 0 = auto / 1 = v2 / 2 = v3 / 3 = TLSv1 */
 #endif /* HAVE_SSL */
 
   int   cookies;