X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=engines%2Fe_ossltest_err.c;h=d9ee80cb839971b4acb2ead770e399abf4a4ee88;hp=b81e00b43c669b85df74dfe6f53efcf909ec70da;hb=HEAD;hpb=cbfa5b03989ee6b8f5c13c4284d5bae02c562f20 diff --git a/engines/e_ossltest_err.c b/engines/e_ossltest_err.c index b81e00b43c..f229aeb438 100644 --- a/engines/e_ossltest_err.c +++ b/engines/e_ossltest_err.c @@ -1,6 +1,6 @@ /* * Generated by util/mkerr.pl DO NOT EDIT - * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -47,9 +47,10 @@ static void ERR_unload_OSSLTEST_strings(void) } } -static void ERR_OSSLTEST_error(int function, int reason, char *file, int line) +static void ERR_OSSLTEST_error(int function, int reason, const 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); }