summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-09-21 06:04:54 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-09-21 06:04:54 +0000
commita13b35a7de9fa5075b78649483362842fb7f249e (patch)
tree9cfc245744d22282e4b4cf88b74a2ebb5264afa1 /regress/lib
parentaf5c20a39c7d5e65756778f0c37452a74ff03417 (diff)
move a misplaced 'goto done;' so that all invalid uris are tested
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/x509/constraints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/x509/constraints.c b/regress/lib/libcrypto/x509/constraints.c
index 4885ca97b1c..7eef55d591c 100644
--- a/regress/lib/libcrypto/x509/constraints.c
+++ b/regress/lib/libcrypto/x509/constraints.c
@@ -344,8 +344,8 @@ test_invalid_uri(void) {
FAIL("invalid URI '%s' accepted\n",
invaliduri[j]);
failure = 1;
+ goto done;
}
- goto done;
}
done:
return failure;