We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2af48cb commit bb2ef76Copy full SHA for bb2ef76
src/crypto/x509/x509_test.go
@@ -3504,13 +3504,12 @@ func TestDisableSHA1ForCertOnly(t *testing.T) {
3504
if err != nil {
3505
t.Fatalf("failed to generate test CRL: %s", err)
3506
}
3507
- // TODO(rolandshoemaker): this should be ParseRevocationList once it lands
3508
- crl, err := ParseCRL(crlDER)
+ crl, err := ParseRevocationList(crlDER)
3509
3510
t.Fatalf("failed to parse test CRL: %s", err)
3511
3512
3513
- if err = cert.CheckCRLSignature(crl); err != nil {
+ if err = crl.CheckSignatureFrom(cert); err != nil {
3514
t.Errorf("unexpected error: %s", err)
3515
3516
0 commit comments