X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=init.h;h=4d1e5463ad93ccee6829e2bc65aa85c44d0eabb2;hb=96fa341bc302bf602e096ae49312c478e922cee3;hp=970bcd66ae9209d341f3116c89b463575eb941a9;hpb=047342c2a0526885217e03d06e9b7a715f55b92f;p=apps%2Fmadmutt.git diff --git a/init.h b/init.h index 970bcd6..4d1e546 100644 --- a/init.h +++ b/init.h @@ -831,7 +831,7 @@ struct option_t MuttVars[] = { ** as folder separators for displaying IMAP paths. In particular it ** helps in using the '=' shortcut for your \fIfolder\fP variable. */ -# ifdef USE_SSL +# if defined(USE_SSL) || defined(USE_GNUTLS) { "imap_force_ssl", DT_BOOL, R_NONE, OPTIMAPFORCESSL, 0 }, /* ** .pp @@ -1939,8 +1939,8 @@ struct option_t MuttVars[] = { */ #endif -#if defined(USE_SSL)||defined(USE_NSS) -# ifndef USE_NSS +#if defined(USE_SSL)||defined(USE_NSS)||defined(USE_GNUTLS) +# if defined(USE_SSL)||defined(USE_GNUTLS) { "ssl_starttls", DT_QUAD, R_NONE, OPT_SSLSTARTTLS, M_YES }, /* ** .pp @@ -1964,6 +1964,7 @@ struct option_t MuttVars[] = { ** .pp ** Example: set certificate_file=~/.mutt/certificates */ +# ifndef USE_GNUTLS { "ssl_usesystemcerts", DT_BOOL, R_NONE, OPTSSLSYSTEMCERTS, 1 }, /* ** .pp @@ -1983,6 +1984,7 @@ struct option_t MuttVars[] = { ** This variables specifies whether to attempt to use SSLv2 in the ** SSL authentication process. */ +# endif { "ssl_use_sslv3", DT_BOOL, R_NONE, OPTSSLV3, 1 }, /* ** .pp @@ -1995,6 +1997,24 @@ struct option_t MuttVars[] = { ** This variables specifies whether to attempt to use TLSv1 in the ** SSL authentication process. */ +#ifdef USE_GNUTLS + { "ssl_min_dh_prime_bits", DT_NUM, R_NONE, UL &SslDHPrimeBits, 0 }, + /* + ** .pp + ** This variable specifies the minimum acceptable prime size (in bits) + ** for use in any Diffie-Hellman key exchange. A value of 0 will use + ** the default from the GNUTLS library. + */ + { "ssl_ca_certificates_file", DT_PATH, R_NONE, UL &SslCACertFile, 0 }, + /* + ** .pp + ** This variable specifies a file containing trusted CA certificates. + ** Any server certificate that is signed with one of these CA + ** certificates are also automatically accepted. + ** .pp + ** Example: set ssl_ca_certificates_file=/etc/ssl/certs/ca-certificates.crt + */ +#endif #endif { "pipe_split", DT_BOOL, R_NONE, OPTPIPESPLIT, 0 }, @@ -2948,12 +2968,6 @@ struct option_t MuttVars[] = { ** xterm_set_titles has been set. This string is identical in formatting ** to the one used by ``$$status_format''. */ - { "xface", DT_BOOL, R_NONE, OPTXFACE, 0 }, - /* - ** .pp - ** Controls whether mutt uses slrnface to display X-Faces when run - ** in an X11 terminal emulator. - */ #ifdef USE_NNTP { "x_comment_to", DT_BOOL, R_NONE, OPTXCOMMENTTO, 0 }, /*