mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-08 15:39:41 +00:00
Fix CMP test error on platforms which set OPENSSL_FUNC to '(unknown function)'
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10119)
This commit is contained in:
parent
f816aa47ac
commit
18caaa2ec4
@ -240,7 +240,8 @@ static int test_log_cb(const char *func, const char *file, int line,
|
|||||||
{
|
{
|
||||||
test_log_cb_res =
|
test_log_cb_res =
|
||||||
# ifndef PEDANTIC
|
# ifndef PEDANTIC
|
||||||
strcmp(func, "execute_cmp_ctx_log_cb_test") == 0 &&
|
(strcmp(func, "execute_cmp_ctx_log_cb_test") == 0
|
||||||
|
|| strcmp(func, "(unknown function)") == 0) &&
|
||||||
# endif
|
# endif
|
||||||
(strcmp(file, OPENSSL_FILE) == 0 || strcmp(file, "(no file)") == 0)
|
(strcmp(file, OPENSSL_FILE) == 0 || strcmp(file, "(no file)") == 0)
|
||||||
&& (line == test_log_line || line == 0)
|
&& (line == test_log_line || line == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user