Ben Copsey

Added hint about wrong device date possibily causing SSL problems to SSL error message

closes gh-164
@@ -3428,7 +3428,7 @@ static NSOperationQueue *sharedQueue = nil; @@ -3428,7 +3428,7 @@ static NSOperationQueue *sharedQueue = nil;
3428 // Also, iPhone seems to handle errors differently from Mac OS X - a self-signed certificate returns a different error code on each platform, so we'll just provide a general error 3428 // Also, iPhone seems to handle errors differently from Mac OS X - a self-signed certificate returns a different error code on each platform, so we'll just provide a general error
3429 if ([[underlyingError domain] isEqualToString:NSOSStatusErrorDomain]) { 3429 if ([[underlyingError domain] isEqualToString:NSOSStatusErrorDomain]) {
3430 if ([underlyingError code] <= -9800 && [underlyingError code] >= -9818) { 3430 if ([underlyingError code] <= -9800 && [underlyingError code] >= -9818) {
3431 - reason = [NSString stringWithFormat:@"%@: SSL problem (possibly a bad/expired/self-signed certificate)",reason]; 3431 + reason = [NSString stringWithFormat:@"%@: SSL problem (Possible causes may include a bad/expired/self-signed certificate, clock set to wrong date)",reason];
3432 } 3432 }
3433 } 3433 }
3434 3434