summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/x509/verify.c
diff options
context:
space:
mode:
authorbeck <>2021-08-27 16:15:42 +0000
committerbeck <>2021-08-27 16:15:42 +0000
commita1a6a093d1a890b18821701c464e83e40b1baa7a (patch)
tree8ff4480226c06031ebfaf66e5fbe17fdc8d821ed /src/regress/lib/libcrypto/x509/verify.c
parent8e20fc9d32e1947070c5fbe3d4eadaf682e0e33f (diff)
downloadopenbsd-a1a6a093d1a890b18821701c464e83e40b1baa7a.tar.gz
openbsd-a1a6a093d1a890b18821701c464e83e40b1baa7a.tar.bz2
openbsd-a1a6a093d1a890b18821701c464e83e40b1baa7a.zip
Add regress test testing having the root cert in the intermediate bundle
Diffstat (limited to 'src/regress/lib/libcrypto/x509/verify.c')
-rw-r--r--src/regress/lib/libcrypto/x509/verify.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/x509/verify.c b/src/regress/lib/libcrypto/x509/verify.c
index 9ef68cd5ab..259854ef12 100644
--- a/src/regress/lib/libcrypto/x509/verify.c
+++ b/src/regress/lib/libcrypto/x509/verify.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: verify.c,v 1.5 2020/11/18 06:56:07 tb Exp $ */ 1/* $OpenBSD: verify.c,v 1.6 2021/08/27 16:15:42 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2020 Bob Beck <beck@openbsd.org> 4 * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
@@ -239,6 +239,10 @@ struct verify_cert_test verify_cert_tests[] = {
239 .want_chains = 0, 239 .want_chains = 0,
240 }, 240 },
241 { 241 {
242 .id = "2c",
243 .want_chains = 1,
244 },
245 {
242 .id = "3a", 246 .id = "3a",
243 .want_chains = 1, 247 .want_chains = 1,
244 }, 248 },