ceremony: collapse two cases in a switch. (#5075)

Follow up on review feedback from
3e77783723 (diff-ffc9ac475f36a165b548f96a56bec83c).
This commit is contained in:
Jacob Hoffman-Andrews 2020-09-02 09:05:39 -07:00 committed by GitHub
parent 1c389fc5e7
commit b5539a51df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -287,9 +287,7 @@ func makeTemplate(randReader io.Reader, profile *certProfile, pubKey []byte, ct
cert.IsCA = false
case crlCert:
cert.IsCA = false
case requestCert:
fallthrough
case intermediateCert:
case requestCert, intermediateCert:
// id-kp-serverAuth and id-kp-clientAuth are included in intermediate
// certificates in order to technically constrain them. id-kp-serverAuth
// is required by 7.1.2.2.g of the CABF Baseline Requirements, but