From 221e4bda865f30ce604386b5266c564e4cd5d95e Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 14 Aug 2006 23:27:23 +0000 Subject: Add IMAP AUTH=EXTERNAL support. BerliOS Patch #1095. Courtesy of Götz 'nimrill' Babin-Ebell. This patch also makes --sslproto arguments case insensitive. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/branches/BRANCH_6-3/; revision=4896 --- options.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'options.c') diff --git a/options.c b/options.c index 25ea005e..87a308c7 100644 --- a/options.c +++ b/options.c @@ -362,6 +362,8 @@ int parsecmdline (int argc /** argument count */, ctl->server.authenticate = A_KERBEROS_V4; else if (strcmp(optarg, "ssh") == 0) ctl->server.authenticate = A_SSH; + else if (strcasecmp(optarg, "external") == 0) + ctl->server.authenticate = A_EXTERNAL; else if (strcmp(optarg, "otp") == 0) ctl->server.authenticate = A_OTP; else if (strcmp(optarg, "opie") == 0) @@ -610,7 +612,7 @@ int parsecmdline (int argc /** argument count */, P(GT_(" --sslcertck do strict server certificate check (recommended)\n")); P(GT_(" --sslcertpath path to ssl certificates\n")); P(GT_(" --sslfingerprint fingerprint that must match that of the server's cert.\n")); - P(GT_(" --sslproto force ssl protocol (ssl2/ssl3/tls1)\n")); + P(GT_(" --sslproto force ssl protocol (SSL2/SSL3/TLS1)\n")); #endif P(GT_(" --plugin specify external command to open connection\n")); P(GT_(" --plugout specify external command to open smtp connection\n")); -- cgit v1.2.3