"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/integration/ocsp_test.go" between
boulder-release-2020-06-23.tar.gz and boulder-release-2020-06-29.tar.gz

About: Boulder is an ACME-based Certificate Authority (CA) used by Let’s Encrypt (written in Go).

ocsp_test.go  (boulder-release-2020-06-23):ocsp_test.go  (boulder-release-2020-06-29)
skipping to change at line 42 skipping to change at line 42
t.Fatal("expected error issuing for domain rejected by CT servers ; got none") t.Fatal("expected error issuing for domain rejected by CT servers ; got none")
} }
// Try to find a precertificate matching the domain from one of the // Try to find a precertificate matching the domain from one of the
// configured ct-test-srv instances. // configured ct-test-srv instances.
cert, err := ctFindRejection([]string{domain}) cert, err := ctFindRejection([]string{domain})
if err != nil || cert == nil { if err != nil || cert == nil {
t.Fatalf("couldn't find rejected precert for %q", domain) t.Fatalf("couldn't find rejected precert for %q", domain)
} }
_, err = ocsp_helper.ReqDER(cert.Raw, ocsp.Good) ocspConfig := ocsp_helper.DefaultConfig.WithExpectStatus(ocsp.Good)
_, err = ocsp_helper.ReqDER(cert.Raw, ocspConfig)
if err != nil { if err != nil {
t.Errorf("requesting OCSP for rejected precertificate: %s", err) t.Errorf("requesting OCSP for rejected precertificate: %s", err)
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)