From 85d6348a30c74d4ee3710e0f4652f634eaad6914 Mon Sep 17 00:00:00 2001
From: Alexander Sosedkin <asosedkin@redhat.com>
Date: Mon, 26 Jan 2026 19:10:58 +0100
Subject: [PATCH] tests/name-constraints-ip: stop swallowing errors...

... now when it started to pass

Signed-off-by: Alexander Sosedkin <asosedkin@redhat.com>

Upstream-Status: Backport [https://gitlab.com/gnutls/gnutls/-/commit/85d6348a30c74d4ee3710e0f4652f634eaad6914]
CVE: CVE-2025-14831
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
---
 tests/name-constraints-ip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/name-constraints-ip.c b/tests/name-constraints-ip.c
index 7a196088dc..a0cf172b7f 100644
--- a/tests/name-constraints-ip.c
+++ b/tests/name-constraints-ip.c
@@ -772,5 +772,5 @@ int main(int argc, char **argv)
 		cmocka_unit_test_setup_teardown(
 			check_ipv4v6_single_constraint_each, setup, teardown)
 	};
-	cmocka_run_group_tests(tests, NULL, NULL);
+	return cmocka_run_group_tests(tests, NULL, NULL);
 }
-- 
GitLab

