More robust secure socket error handling #4313

This commit is contained in:
Nick Bolton 2015-03-03 19:21:14 +00:00
parent b6a3788fea
commit 40fa58de8c
2 changed files with 63 additions and 63 deletions

View file

@ -58,10 +58,9 @@ private:
bool secureAccept(int s);
bool secureConnect(int s);
void showCertificate();
bool checkResult(int n);
void showError();
bool checkResult(int n, bool canThrow);
void throwError(const char* reason);
bool getError();
String getError();
ISocketMultiplexerJob*
serviceConnect(ISocketMultiplexerJob*,
@ -74,5 +73,4 @@ private:
private:
Ssl* m_ssl;
bool m_secureReady;
char* m_error;
};