gofmt
This commit is contained in:
parent
c6b51176a2
commit
b2f78525dc
|
@ -149,7 +149,6 @@ func (ra *RegistrationAuthorityImpl) NewCertificate(req core.CertificateRequest,
|
|||
ra.log.AuditObject(fmt.Sprintf("Certificate request - %s", logEventResult), logEvent)
|
||||
}()
|
||||
|
||||
|
||||
if regID <= 0 {
|
||||
err = fmt.Errorf("Invalid registration ID")
|
||||
return emptyCert, err
|
||||
|
|
|
@ -201,7 +201,7 @@ func (ra *MockRegistrationAuthority) OnValidationUpdate(authz core.Authorization
|
|||
return nil
|
||||
}
|
||||
|
||||
type MockCA struct {}
|
||||
type MockCA struct{}
|
||||
|
||||
func (ca *MockCA) IssueCertificate(csr x509.CertificateRequest, regID int64) (cert core.Certificate, err error) {
|
||||
// Just a random cert
|
||||
|
|
Loading…
Reference in New Issue