From bb5c3454312197d0f16cb3c5a69657fdab5b32e1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 3 Apr 2009 00:35:21 +0000 Subject: [PATCH] Monotone-Parent: 4d0a0d1dc06bda80fe35665a65a4647db76a438a Monotone-Revision: 7b7b1e4cf6acf0c232cc90058bb111775177f721 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-04-03T00:35:21 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/LDAPSource.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SoObjects/SOGo/LDAPSource.m b/SoObjects/SOGo/LDAPSource.m index 782a91d9e..b4fc87286 100644 --- a/SoObjects/SOGo/LDAPSource.m +++ b/SoObjects/SOGo/LDAPSource.m @@ -260,11 +260,13 @@ static NSLock *lock; if ([encryption isEqualToString: @"SSL"]) rc = [encryptedConn useSSL]; - else if ([encryption isEqualToString: @"SSL"]) + else if ([encryption isEqualToString: @"STARTTLS"]) rc = [encryptedConn startTLS]; else { - [self errorWithFormat: @"encryption scheme '%@' not supported: use 'SSL' or 'STARTTLS'"]; + [self errorWithFormat: + @"encryption scheme '%@' not supported:" + @" use 'SSL' or 'STARTTLS'", encryption]; rc = NO; }