diff options
| author | tb <> | 2020-09-21 06:04:53 +0000 |
|---|---|---|
| committer | tb <> | 2020-09-21 06:04:53 +0000 |
| commit | 2ea91b696c5a52d526d7d3861c1e2d277c29a259 (patch) | |
| tree | 66e3b609250c748e897cf2378e22da772c9ddc8b /src/regress/lib/libcrypto/x509/constraints.c | |
| parent | 87cd7ec5a926d4c4d683a29035a09e2f1c99c909 (diff) | |
| download | openbsd-2ea91b696c5a52d526d7d3861c1e2d277c29a259.tar.gz openbsd-2ea91b696c5a52d526d7d3861c1e2d277c29a259.tar.bz2 openbsd-2ea91b696c5a52d526d7d3861c1e2d277c29a259.zip | |
move a misplaced 'goto done;' so that all invalid uris are tested
Diffstat (limited to 'src/regress/lib/libcrypto/x509/constraints.c')
| -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; |
