forked from TrueCloudLab/certificates
Fix mock
This commit is contained in:
parent
7dc61bf233
commit
8252608ca2
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ func (m *mockAuthority) GetEncryptedKey(kid string) (string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *mockAuthority) GetRoots() ([]*x509.Certificate, error) {
|
func (m *mockAuthority) GetRoots() ([]*x509.Certificate, error) {
|
||||||
if m.getFederation != nil {
|
if m.getRoots != nil {
|
||||||
return m.getRoots()
|
return m.getRoots()
|
||||||
}
|
}
|
||||||
return m.ret1.([]*x509.Certificate), m.err
|
return m.ret1.([]*x509.Certificate), m.err
|
||||||
|
|
Loading…
Reference in a new issue