aboutsummaryrefslogtreecommitdiff
path: root/server/store/mem.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/store/mem.go')
-rw-r--r--server/store/mem.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/store/mem.go b/server/store/mem.go
index 9d5038d..8f27854 100644
--- a/server/store/mem.go
+++ b/server/store/mem.go
@@ -4,8 +4,6 @@ import (
"fmt"
"sync"
"time"
-
- "golang.org/x/crypto/ssh"
)
var _ CertStorer = (*memoryStore)(nil)
@@ -27,11 +25,6 @@ func (ms *memoryStore) Get(id string) (*CertRecord, error) {
return r, nil
}
-// SetCert parses a *ssh.Certificate and records it
-func (ms *memoryStore) SetCert(cert *ssh.Certificate) error {
- return ms.SetRecord(parseCertificate(cert))
-}
-
// SetRecord records a *CertRecord
func (ms *memoryStore) SetRecord(record *CertRecord) error {
ms.Lock()