This commit is contained in:
Mariano Cano 2019-01-14 14:33:00 -08:00
parent 7dc61bf233
commit 8252608ca2

View file

@ -446,7 +446,7 @@ func (m *mockAuthority) GetEncryptedKey(kid string) (string, error) {
}
func (m *mockAuthority) GetRoots() ([]*x509.Certificate, error) {
if m.getFederation != nil {
if m.getRoots != nil {
return m.getRoots()
}
return m.ret1.([]*x509.Certificate), m.err