projects
/
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
[openssl.git]
/
util
/
mkerr.pl
diff --git
a/util/mkerr.pl
b/util/mkerr.pl
index 956b66179ae3c470e056071a7f5f05eba487c329..51e034703d4d8b25ca4da97ff1992c899bba3c73 100755
(executable)
--- a/
util/mkerr.pl
+++ b/
util/mkerr.pl
@@
-650,7
+650,8
@@
${st}void ERR_${lib}_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);
}
EOF