diff options
| author | tb <> | 2020-09-21 06:01:44 +0000 |
|---|---|---|
| committer | tb <> | 2020-09-21 06:01:44 +0000 |
| commit | 87cd7ec5a926d4c4d683a29035a09e2f1c99c909 (patch) | |
| tree | 5d3128da2e6841f568238bf585220289df57749f | |
| parent | 6ee00092aca7120fdc6c535595cc4d55cda3e05d (diff) | |
| download | openbsd-87cd7ec5a926d4c4d683a29035a09e2f1c99c909.tar.gz openbsd-87cd7ec5a926d4c4d683a29035a09e2f1c99c909.tar.bz2 openbsd-87cd7ec5a926d4c4d683a29035a09e2f1c99c909.zip | |
add a few short invalid URIs in test_constraints1() that cause early
failure of x509_constraints_uri_host() in x509_constraints_uri()
Diffstat (limited to '')
| -rw-r--r-- | src/regress/lib/libcrypto/x509/constraints.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/regress/lib/libcrypto/x509/constraints.c b/src/regress/lib/libcrypto/x509/constraints.c index 6e76f08113..4885ca97b1 100644 --- a/src/regress/lib/libcrypto/x509/constraints.c +++ b/src/regress/lib/libcrypto/x509/constraints.c | |||
| @@ -390,6 +390,10 @@ test_constraints1(void) | |||
| 390 | "https://www.openbsd.net?", | 390 | "https://www.openbsd.net?", |
| 391 | "https://org#", | 391 | "https://org#", |
| 392 | "herp://beck@org:", | 392 | "herp://beck@org:", |
| 393 | "///", | ||
| 394 | "//", | ||
| 395 | "/", | ||
| 396 | "", | ||
| 393 | NULL, | 397 | NULL, |
| 394 | }; | 398 | }; |
| 395 | for (i = 0; constraints[i] != NULL; i++) { | 399 | for (i = 0; constraints[i] != NULL; i++) { |
