mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibCrypto: Print all descriptive OpenSSL errors
The code was printing one error message only, but multiple can be generated in one call. Additionally, using this builtin produces a much more descriptive output.
This commit is contained in:
parent
c580763743
commit
de6f77e7e3
Notes:
github-actions[bot]
2025-01-27 11:26:35 +00:00
Author: https://github.com/devgianlu
Commit: de6f77e7e3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3374
Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 9 additions and 10 deletions
|
@ -14,8 +14,7 @@ typedef struct evp_md_ctx_st EVP_MD_CTX;
|
|||
typedef struct evp_pkey_st EVP_PKEY;
|
||||
typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
|
||||
|
||||
long unsigned int ERR_get_error();
|
||||
char* ERR_error_string(long unsigned int, char*);
|
||||
void ERR_print_errors_cb(int (*cb)(char const* str, size_t len, void* u), void* u);
|
||||
|
||||
EVP_MD_CTX* EVP_MD_CTX_new();
|
||||
void EVP_MD_CTX_free(EVP_MD_CTX*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue