Return Type | Function name | Arguments |
---|---|---|
const char* | ShowErrorSSL | (unsigned int,) |
Declared in file: hzErrcode.h
Defined in file : hzError.cpp
Function Logic:
Function body:
const char* ShowErrorSSL (unsigned int err) { static const char* _err [] = { "SSL_ERROR_NONE I/O operation success", "SSL_ERROR_ZERO_RETURN Closure alert has occured (for clean closure)", "SSL_ERROR_WANT_READ Read operation incomplete", "SSL_ERROR_WANT_WRITE Write operation incomplete", "SSL_ERROR_WANT_CONNECT Connect operation incomplete", "SSL_ERROR_WANT_ACCEPT Accept operation incomplete", "SSL_ERROR_WANT_X509_LOOKUP Op did not complete because an app callback has asked to be called again", "SSL_ERROR_SYSCALL Socket error", "SSL_ERROR_SSL Library error", "SSL_ERROR_SSL undefined", "" } ; if (err > 9) return _err[9]; else return _err[err] ; }