summaryrefslogtreecommitdiffabout
path: root/sieve
authorSergey Poznyakoff <gray@gnu.org.ua>2003-08-28 19:43:03 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2003-08-28 19:43:03 (GMT)
commit057471f6debcf726ac515f029e71bf8af819a671 (patch) (side-by-side diff)
tree18044d0bebe032964a920eeb64d33e83ca26cb2e /sieve
parentc255ceba0afb0830fa679c8849fbf6cf96ab81a7 (diff)
downloadmailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.gz
mailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.bz2
Use "tls" command line capability.
Diffstat (limited to 'sieve') (more/less context) (ignore whitespace changes)
-rw-r--r--sieve/sieve.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c
index 957070f..a147bb6 100644
--- a/sieve/sieve.c
+++ b/sieve/sieve.c
@@ -42,6 +42,7 @@
#include <mailutils/registrar.h>
#include <mailutils/stream.h>
#include <mailutils/nls.h>
+#include <mailutils/tls.h>
void mutil_register_all_mbox_formats (void);
@@ -221,6 +222,9 @@ static const char *sieve_argp_capa[] =
"logging",
"mailer",
"sieve",
+#ifdef WITH_TLS
+ "tls",
+#endif
NULL
};
@@ -311,6 +315,9 @@ main (int argc, char *argv[])
mu_init_nls ();
mu_argp_init (program_version, NULL);
+#ifdef WITH_TLS
+ mu_tls_init_client_argp ();
+#endif
sieve_argp_init ();
rc = mu_argp_parse (&argp, &argc, &argv, ARGP_IN_ORDER, sieve_argp_capa,
0, &opts);

Return to:

Send suggestions and report system problems to the System administrator.