"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mocks/mocks.go" between
boulder-release-2019-09-03.tar.gz and boulder-release-2019-09-09.tar.gz

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

mocks.go  (boulder-release-2019-09-03):mocks.go  (boulder-release-2019-09-09)
skipping to change at line 322 skipping to change at line 322
}, nil }, nil
} else if serial == "0000000000000000000000000000000000b2" { } else if serial == "0000000000000000000000000000000000b2" {
return core.CertificateStatus{ return core.CertificateStatus{
Status: core.OCSPStatusRevoked, Status: core.OCSPStatusRevoked,
}, nil }, nil
} else { } else {
return core.CertificateStatus{}, errors.New("No cert status") return core.CertificateStatus{}, errors.New("No cert status")
} }
} }
// AddPrecertificate is a mock
func (sa *StorageAuthority) AddPrecertificate(ctx context.Context, req *sapb.Add
CertificateRequest) (empty *corepb.Empty, err error) {
return
}
// AddSerial is a mock
func (sa *StorageAuthority) AddSerial(ctx context.Context, req *sapb.AddSerialRe
quest) (empty *corepb.Empty, err error) {
return
}
// AddCertificate is a mock // AddCertificate is a mock
func (sa *StorageAuthority) AddCertificate(_ context.Context, certDER []byte, re gID int64, _ []byte, _ *time.Time) (digest string, err error) { func (sa *StorageAuthority) AddCertificate(_ context.Context, certDER []byte, re gID int64, _ []byte, _ *time.Time) (digest string, err error) {
return return
} }
// FinalizeAuthorization is a mock // FinalizeAuthorization is a mock
func (sa *StorageAuthority) FinalizeAuthorization(_ context.Context, authz core. Authorization) (err error) { func (sa *StorageAuthority) FinalizeAuthorization(_ context.Context, authz core. Authorization) (err error) {
return return
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added

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