mirror of
https://github.com/smallstep/certificates.git
synced 2024-10-31 03:20:16 +00:00
implemented some requested changes
This commit is contained in:
parent
53dbe2309b
commit
49c41636cc
@ -201,6 +201,10 @@ type mockAuthority struct {
|
||||
version func() authority.Version
|
||||
}
|
||||
|
||||
func (m *mockAuthority) GetCertificateRevocationList() ([]byte, error) {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
// TODO: remove once Authorize is deprecated.
|
||||
func (m *mockAuthority) Authorize(ctx context.Context, ott string) ([]provisioner.SignOption, error) {
|
||||
return m.AuthorizeSign(ott)
|
||||
|
@ -11,8 +11,8 @@ import (
|
||||
"encoding/json"
|
||||
"encoding/pem"
|
||||
"fmt"
|
||||
"net"
|
||||
"math/big"
|
||||
"net"
|
||||
"net/http"
|
||||
"strings"
|
||||
"time"
|
||||
|
Loading…
Reference in New Issue
Block a user