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:
Wolfgang Sourdeau
2009-04-03 00:35:21 +00:00
parent 3fa90b3f75
commit bb5c345431
+4 -2
View File
@@ -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;
}