diff --git a/regress/lib/libtls/verify/verifytest.c b/regress/lib/libtls/verify/verifytest.c index 57aa992149f..9a5aa140762 100644 --- a/regress/lib/libtls/verify/verifytest.c +++ b/regress/lib/libtls/verify/verifytest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: verifytest.c,v 1.8 2023/05/28 09:02:01 beck Exp $ */ +/* $OpenBSD: verifytest.c,v 1.9 2026/05/30 16:55:09 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing * @@ -497,8 +497,9 @@ do_verify_test(int test_no, struct verify_test *vt) goto done; } if (match != vt->want_match) { - fprintf(stderr, "FAIL: test %i failed to match name '%s'\n", - test_no, vt->name); + fprintf(stderr, "FAIL: test %i %s name '%s'\n", + test_no, vt->want_match ? "failed to match" : "matched", + vt->name); goto done; }