projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid using ERR_put_error() directly in OpenSSL code
[oweals/openssl.git]
/
engines
/
e_capi_err.c
diff --git
a/engines/e_capi_err.c
b/engines/e_capi_err.c
index acbec41d08b11d01845f043049c7bb4c4685d84d..e2b1f7561f3c181d7ef5bb3bf6361c5e88f17264 100644
(file)
--- a/
engines/e_capi_err.c
+++ b/
engines/e_capi_err.c
@@
-89,5
+89,6
@@
static void ERR_CAPI_error(int function, int reason, char *file, int line)
{
if (lib_code == 0)
lib_code = ERR_get_next_error_library();
- ERR_PUT_error(lib_code, function, reason, file, line);
+ ERR_raise(lib_code, reason);
+ ERR_set_debug(file, line, NULL);
}