summaryrefslogtreecommitdiff
path: root/regress/lib/libcrypto/x509
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-09-21 06:01:45 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-09-21 06:01:45 +0000
commitaf5c20a39c7d5e65756778f0c37452a74ff03417 (patch)
treeeb64d04de635364fc6092dc70347e4384318a0e0 /regress/lib/libcrypto/x509
parentd9ef565e9f7506b5071d6ddf03e9e9598cfba881 (diff)
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 'regress/lib/libcrypto/x509')
-rw-r--r--regress/lib/libcrypto/x509/constraints.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/lib/libcrypto/x509/constraints.c b/regress/lib/libcrypto/x509/constraints.c
index 6e76f081138..4885ca97b1c 100644
--- a/regress/lib/libcrypto/x509/constraints.c
+++ b/regress/lib/libcrypto/x509/constraints.c
@@ -390,6 +390,10 @@ test_constraints1(void)
"https://www.openbsd.net?",
"https://org#",
"herp://beck@org:",
+ "///",
+ "//",
+ "/",
+ "",
NULL,
};
for (i = 0; constraints[i] != NULL; i++) {