summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/x509/constraints.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/x509/constraints.c b/src/regress/lib/libcrypto/x509/constraints.c
index 54bb654a31..b6c4e79c16 100644
--- a/src/regress/lib/libcrypto/x509/constraints.c
+++ b/src/regress/lib/libcrypto/x509/constraints.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: constraints.c,v 1.19 2026/04/13 17:04:23 beck Exp $ */ 1/* $OpenBSD: constraints.c,v 1.20 2026/05/26 09:35:53 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -397,7 +397,7 @@ test_valid_uri(void)
397 397
398 for (j = 0; validuri[j] != NULL; j++) { 398 for (j = 0; validuri[j] != NULL; j++) {
399 if (x509_constraints_uri_host(validuri[j], 399 if (x509_constraints_uri_host(validuri[j],
400 strlen(invaliduri[j]), &hostpart) == 0) { 400 strlen(validuri[j]), &hostpart) == 0) {
401 FAIL("Valid URI '%s' NOT accepted\n", 401 FAIL("Valid URI '%s' NOT accepted\n",
402 validuri[j]); 402 validuri[j]);
403 failure = 1; 403 failure = 1;