From f134a841ce32f62767a6776e6e2518a3a83a214d Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 29 Jan 2006 10:16:35 +0000 Subject: [PATCH] fix starttls check git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10603 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/configtest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configtest.php b/src/configtest.php index d0080d53..c23d664b 100644 --- a/src/configtest.php +++ b/src/configtest.php @@ -392,7 +392,7 @@ while ($line=fgets($stream, 1024)){ /* don't display capabilities before STARTTLS */ if ($use_imap_tls==2 && stristr($capline, 'STARTTLS') === false) { do_err('Your server doesn\'t support STARTTLS.'); -} else { +} elseif($use_imap_tls==2) { /* try starting starttls */ fwrite($stream,"A002 STARTTLS\r\n"); $starttls_line=fgets($stream, 1024); -- 2.25.1