Skip to content

Commit

Permalink
Spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Nov 30, 2016
1 parent 7c624d0 commit 5f7ec22
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cdr/resolver.go
Expand Up @@ -145,7 +145,7 @@ func (cdr *CAADistributedResolver) queryCAA(ctx context.Context, url string, ic
if respObj.Comment != "" {
return nil, fmt.Errorf("Query failed with %s: %s", dns.RcodeToString[respObj.Status], respObj.Comment)
}
return nil, fmt.Errorf("Query failed wtih %s", dns.RcodeToString[respObj.Status])
return nil, fmt.Errorf("Query failed with %s", dns.RcodeToString[respObj.Status])
}

return parseAnswer(respObj.Answer)
Expand Down
2 changes: 1 addition & 1 deletion core/objects.go
Expand Up @@ -466,7 +466,7 @@ type CertificateStatus struct {

// For performance reasons[0] we duplicate the `Expires` field of the
// `Certificates` object/table in `CertificateStatus` to avoid a costly `JOIN`
// later on just to retreive this `Time` value. This helps both the OCSP
// later on just to retrieve this `Time` value. This helps both the OCSP
// updater and the expiration-mailer stay performant.
//
// Similarly, we add an explicit `IsExpired` boolean to `CertificateStatus`
Expand Down
2 changes: 1 addition & 1 deletion ra/ra_test.go
Expand Up @@ -1345,7 +1345,7 @@ func TestDeactivateAuthorization(t *testing.T) {
err = ra.DeactivateAuthorization(ctx, authz)
test.AssertNotError(t, err, "Could not deactivate authorization")
deact, err := sa.GetAuthorization(ctx, authz.ID)
test.AssertNotError(t, err, "Could not get deactivated authorization wtih ID "+authz.ID)
test.AssertNotError(t, err, "Could not get deactivated authorization with ID "+authz.ID)
test.AssertEquals(t, deact.Status, core.StatusDeactivated)
}

Expand Down
2 changes: 1 addition & 1 deletion sa/sa.go
Expand Up @@ -788,7 +788,7 @@ func (ssa *SQLStorageAuthority) RevokeAuthorizationsByDomain(ctx context.Context
}

// AddCertificate stores an issued certificate and returns the digest as
// a string, or an error if any occured.
// a string, or an error if any occurred.
func (ssa *SQLStorageAuthority) AddCertificate(ctx context.Context, certDER []byte, regID int64) (string, error) {
parsedCertificate, err := x509.ParseCertificate(certDER)
if err != nil {
Expand Down

0 comments on commit 5f7ec22

Please sign in to comment.