Reverting r513. I mistakenly committed my entire tree.

This commit is contained in:
Jack Moffitt
2008-08-26 04:46:41 +00:00
parent ade38ae188
commit 1c0bbb1f5d
5 changed files with 20 additions and 31 deletions

View File

@@ -189,6 +189,11 @@ int tls_stop(tls_t *tls)
return 1;
}
int tls_error(tls_t *tls)
{
return tls->lasterror;
}
int tls_is_recoverable(int error)
{
return (error == SSL_ERROR_NONE || error == SSL_ERROR_WANT_READ