Update acme/challenge_test.go

Co-authored-by: Herman Slatman <hslatman@users.noreply.github.com>
This commit is contained in:
Mariano Cano 2022-10-11 10:04:42 -07:00 committed by GitHub
parent 7a78c76199
commit a7e597450a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2780,9 +2780,9 @@ func Test_doStepAttestationFormat_noCAIntermediate(t *testing.T) {
// This CA simulates a YubiKey v5.2.4, where the attestation intermediate in
// the CA does not have the basic constraint extension. With the current
// validation of the certificate the test case bellow returns an error, if
// we change the validation to support this use case, the test case bellow
// should change..
// validation of the certificate the test case below returns an error. If
// we change the validation to support this use case, the test case below
// should change.
//
// See https://github.com/Yubico/yubikey-manager/issues/522
ca, err := minica.New(minica.WithIntermediateTemplate(`{"subject": {{ toJson .Subject }}}`))