summaryrefslogtreecommitdiffstats
path: root/test/cmp_ctx_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cmp_ctx_test.c')
-rw-r--r--test/cmp_ctx_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cmp_ctx_test.c b/test/cmp_ctx_test.c
index 16ce9c5c7e..3c8d75f4e0 100644
--- a/test/cmp_ctx_test.c
+++ b/test/cmp_ctx_test.c
@@ -240,7 +240,8 @@ static int test_log_cb(const char *func, const char *file, int line,
{
test_log_cb_res =
# 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
(strcmp(file, OPENSSL_FILE) == 0 || strcmp(file, "(no file)") == 0)
&& (line == test_log_line || line == 0)