summaryrefslogtreecommitdiffabout
path: root/frm
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 /frm
parentc255ceba0afb0830fa679c8849fbf6cf96ab81a7 (diff)
downloadmailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.gz
mailutils-057471f6debcf726ac515f029e71bf8af819a671.tar.bz2
Use "tls" command line capability.
Diffstat (limited to 'frm') (more/less context) (ignore whitespace changes)
-rw-r--r--frm/frm.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/frm/frm.c b/frm/frm.c
index 904dce9..e40eb34 100644
--- a/frm/frm.c
+++ b/frm/frm.c
@@ -39,6 +39,7 @@
#include <mailutils/stream.h>
#include <mailutils/url.h>
#include <mailutils/nls.h>
+#include <mailutils/tls.h>
static char* show_field;
static int show_to;
@@ -161,6 +162,9 @@ static const char *frm_argp_capa[] = {
"common",
"license",
"mailbox",
+#ifdef WITH_TLS
+ "tls",
+#endif
NULL
};
@@ -308,6 +312,9 @@ main(int argc, char **argv)
mu_init_nls ();
mu_argp_init (program_version, NULL);
+#ifdef WITH_TLS
+ mu_tls_init_client_argp ();
+#endif
mu_argp_parse (&argp, &argc, &argv, 0, frm_argp_capa, &c, NULL);
/* have an argument */
@@ -323,6 +330,7 @@ main(int argc, char **argv)
registrar_get_list (&bookie);
list_append (bookie, mbox_record);
list_append (bookie, path_record);
+ list_append (bookie, mh_record);
list_append (bookie, pop_record);
list_append (bookie, imap_record);
}

Return to:

Send suggestions and report system problems to the System administrator.