diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-08-28 19:43:03 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-08-28 19:43:03 +0000 |
commit | 057471f6debcf726ac515f029e71bf8af819a671 (patch) | |
tree | 18044d0bebe032964a920eeb64d33e83ca26cb2e /sieve | |
parent | c255ceba0afb0830fa679c8849fbf6cf96ab81a7 (diff) | |
download | mailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.gz mailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.bz2 |
Use "tls" command line capability.
Diffstat (limited to 'sieve')
-rw-r--r-- | sieve/sieve.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c index 957070f5c..a147bb6ff 100644 --- a/sieve/sieve.c +++ b/sieve/sieve.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <mailutils/registrar.h> | 42 | #include <mailutils/registrar.h> |
43 | #include <mailutils/stream.h> | 43 | #include <mailutils/stream.h> |
44 | #include <mailutils/nls.h> | 44 | #include <mailutils/nls.h> |
45 | #include <mailutils/tls.h> | ||
45 | 46 | ||
46 | void mutil_register_all_mbox_formats (void); | 47 | void mutil_register_all_mbox_formats (void); |
47 | 48 | ||
@@ -221,6 +222,9 @@ static const char *sieve_argp_capa[] = | |||
221 | "logging", | 222 | "logging", |
222 | "mailer", | 223 | "mailer", |
223 | "sieve", | 224 | "sieve", |
225 | #ifdef WITH_TLS | ||
226 | "tls", | ||
227 | #endif | ||
224 | NULL | 228 | NULL |
225 | }; | 229 | }; |
226 | 230 | ||
@@ -311,6 +315,9 @@ main (int argc, char *argv[]) | |||
311 | mu_init_nls (); | 315 | mu_init_nls (); |
312 | 316 | ||
313 | mu_argp_init (program_version, NULL); | 317 | mu_argp_init (program_version, NULL); |
318 | #ifdef WITH_TLS | ||
319 | mu_tls_init_client_argp (); | ||
320 | #endif | ||
314 | sieve_argp_init (); | 321 | sieve_argp_init (); |
315 | rc = mu_argp_parse (&argp, &argc, &argv, ARGP_IN_ORDER, sieve_argp_capa, | 322 | rc = mu_argp_parse (&argp, &argc, &argv, ARGP_IN_ORDER, sieve_argp_capa, |
316 | 0, &opts); | 323 | 0, &opts); |