mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Monotone-Parent: 4d0a0d1dc06bda80fe35665a65a4647db76a438a
Monotone-Revision: 7b7b1e4cf6acf0c232cc90058bb111775177f721 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-04-03T00:35:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user