From 71ed441c7d0ce507d72f02fb06679b6479fefc19 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 3 Nov 2020 17:28:31 +0100 Subject: removed fixed TODOs --- client/verify.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'client') diff --git a/client/verify.go b/client/verify.go index b5257ac..c66e54c 100644 --- a/client/verify.go +++ b/client/verify.go @@ -12,12 +12,6 @@ import ( "github.com/system-transparency/stfe" ) -// TODO: fix so that publicKey is already passed as crypto.PublicKey -//k, err := x509.ParsePKIXPublicKey(publicKey) -//if err != nil { -// return fmt.Errorf("failed parsing public key: %v", err) -//} - func VerifySignedDebugInfoV1(sdi *stfe.StItem, scheme tls.SignatureScheme, key crypto.PublicKey, message []byte) error { if err := supportedScheme(scheme, key); err != nil { return err -- cgit v1.2.3