diff options
author | tb <> | 2020-09-21 06:04:53 +0000 |
---|---|---|
committer | tb <> | 2020-09-21 06:04:53 +0000 |
commit | b10a5db99b3dc600dbc2bcb0285204a7b9a669bf (patch) | |
tree | 66e3b609250c748e897cf2378e22da772c9ddc8b | |
parent | c0061b5cd52cb5b2ad7f6358caeee40fedc70896 (diff) | |
download | openbsd-b10a5db99b3dc600dbc2bcb0285204a7b9a669bf.tar.gz openbsd-b10a5db99b3dc600dbc2bcb0285204a7b9a669bf.tar.bz2 openbsd-b10a5db99b3dc600dbc2bcb0285204a7b9a669bf.zip |
move a misplaced 'goto done;' so that all invalid uris are tested
Diffstat (limited to '')
-rw-r--r-- | src/regress/lib/libcrypto/x509/constraints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/x509/constraints.c b/src/regress/lib/libcrypto/x509/constraints.c index 4885ca97b1..7eef55d591 100644 --- a/src/regress/lib/libcrypto/x509/constraints.c +++ b/src/regress/lib/libcrypto/x509/constraints.c | |||
@@ -344,8 +344,8 @@ test_invalid_uri(void) { | |||
344 | FAIL("invalid URI '%s' accepted\n", | 344 | FAIL("invalid URI '%s' accepted\n", |
345 | invaliduri[j]); | 345 | invaliduri[j]); |
346 | failure = 1; | 346 | failure = 1; |
347 | goto done; | ||
347 | } | 348 | } |
348 | goto done; | ||
349 | } | 349 | } |
350 | done: | 350 | done: |
351 | return failure; | 351 | return failure; |