Better error handling for SSL
This commit is contained in:
@@ -46,14 +46,14 @@ struct ErrClearErrorOnExit {
|
||||
}
|
||||
};
|
||||
|
||||
std::string errors_string(bool lastonly = true);
|
||||
void assert_errors_empty();
|
||||
// Return the OpenSSL error as a string.
|
||||
std::string error_string();
|
||||
void clear_all_errors();
|
||||
SSL_CTX *new_context(int verify);
|
||||
void ctx_load_dummy_cert(SSL_CTX *ctx);
|
||||
void ctx_load_cert_from_directory(SSL_CTX *ctx, const std::string &dir);
|
||||
|
||||
} // namespace drvssl
|
||||
|
||||
|
||||
#endif // DRIVER_SSL_HPP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user