Fix #185: need more detailed SSL error message

This commit is contained in:
Sefa Ilkimen
2019-02-22 19:20:12 +01:00
parent 1fd857f1d9
commit 807400bc63
7 changed files with 6382 additions and 25 deletions
+3
View File
@@ -104,6 +104,9 @@
case -1009:
// no connection
return [NSNumber numberWithInt:3];
case -1202:
// untrusted SSL certificate
return [NSNumber numberWithInt:-2];
default:
return [NSNumber numberWithInt:-1];
}