diff options
| author | tb <> | 2022-03-14 21:30:48 +0000 |
|---|---|---|
| committer | tb <> | 2022-03-14 21:30:48 +0000 |
| commit | 82ef2f98179db11b9dffd5f259aa312fbbe52c07 (patch) | |
| tree | 92535780fe32cf443c8a023a93457adb48add9e1 /src/regress/lib/libcrypto/CA/intermediate.cnf | |
| parent | 2189fd34b7b61fc89bd474d85ac954a2fb1b6d71 (diff) | |
| download | openbsd-82ef2f98179db11b9dffd5f259aa312fbbe52c07.tar.gz openbsd-82ef2f98179db11b9dffd5f259aa312fbbe52c07.tar.bz2 openbsd-82ef2f98179db11b9dffd5f259aa312fbbe52c07.zip | |
Add a few regress test cases for name constraints.
From Alex Wilson
Diffstat (limited to 'src/regress/lib/libcrypto/CA/intermediate.cnf')
| -rw-r--r-- | src/regress/lib/libcrypto/CA/intermediate.cnf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/CA/intermediate.cnf b/src/regress/lib/libcrypto/CA/intermediate.cnf index bbf189d268..d0057ca13f 100644 --- a/src/regress/lib/libcrypto/CA/intermediate.cnf +++ b/src/regress/lib/libcrypto/CA/intermediate.cnf | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: intermediate.cnf,v 1.3 2020/12/26 00:48:56 bluhm Exp $ | 1 | # $OpenBSD: intermediate.cnf,v 1.4 2022/03/14 21:30:48 tb Exp $ |
| 2 | # For regression tests | 2 | # For regression tests |
| 3 | default_ca = CA_regress | 3 | default_ca = CA_regress |
| 4 | 4 | ||
| @@ -105,6 +105,10 @@ subjectKeyIdentifier = hash | |||
| 105 | authorityKeyIdentifier = keyid,issuer | 105 | authorityKeyIdentifier = keyid,issuer |
| 106 | keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment | 106 | keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment |
| 107 | extendedKeyUsage = clientAuth, emailProtection | 107 | extendedKeyUsage = clientAuth, emailProtection |
| 108 | subjectAltName = critical, @usr_san | ||
| 109 | |||
| 110 | [ usr_san ] | ||
| 111 | email.0 = evilsoandsos@test.openbsd.org | ||
| 108 | 112 | ||
| 109 | [ server_cert ] | 113 | [ server_cert ] |
| 110 | # Extensions for server certificates (`man x509v3_config`). | 114 | # Extensions for server certificates (`man x509v3_config`). |
