ceremony: collapse two cases in a switch. (#5075)
Follow up on review feedback from
3e77783723 (diff-ffc9ac475f36a165b548f96a56bec83c).
This commit is contained in:
parent
1c389fc5e7
commit
b5539a51df
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue