Skip to content

Commit

Permalink
[acme] Continued work on acme db interface (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
dopey committed Mar 25, 2021
1 parent 3485955 commit 31ad7f2
Show file tree
Hide file tree
Showing 12 changed files with 1,382 additions and 1,022 deletions.
10 changes: 10 additions & 0 deletions acme/authority.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,3 +319,13 @@ func (a *Authority) GetCertificate(accID, certID string) ([]byte, error) {
}
return cert.toACME(a.db, a.dir)
}

type httpGetter func(string) (*http.Response, error)
type lookupTxt func(string) ([]string, error)
type tlsDialer func(network, addr string, config *tls.Config) (*tls.Conn, error)

type validateOptions struct {
httpGet httpGetter
lookupTxt lookupTxt
tlsDial tlsDialer
}
347 changes: 0 additions & 347 deletions acme/authz.go

This file was deleted.

0 comments on commit 31ad7f2

Please sign in to comment.