diff options
-rw-r--r-- | src/regress/lib/libcrypto/x509/constraints.c | 4 |
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 d4867a362c..e5c37d21cc 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 */ | 1 | /* $OpenBSD: constraints.c,v 1.11 2022/10/30 13:23:49 kn Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -447,8 +447,8 @@ test_constraints1(void) | |||
447 | } | 447 | } |
448 | } | 448 | } |
449 | for (j = 0; noauthority[j] != NULL; j++) { | 449 | for (j = 0; noauthority[j] != NULL; j++) { |
450 | error = 0; | ||
451 | char *hostpart = NULL; | 450 | char *hostpart = NULL; |
451 | error = 0; | ||
452 | if (!x509_constraints_uri_host(noauthority[j], | 452 | if (!x509_constraints_uri_host(noauthority[j], |
453 | strlen(noauthority[j]), &hostpart)) { | 453 | strlen(noauthority[j]), &hostpart)) { |
454 | FAIL("name '%s' should parse as a URI", | 454 | FAIL("name '%s' should parse as a URI", |