From 24296ac36e463604a76f86461dba165edc712224 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 11 Sep 2014 20:51:52 +0100 Subject: [PATCH] Remove the GOST scan code. The code was commented out and was a copy of code with a bug in it. Basically it is safer to delete this, than to let it in. --- kscan.go | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/kscan.go b/kscan.go index 8bad8186..0c718486 100644 --- a/kscan.go +++ b/kscan.go @@ -161,21 +161,7 @@ func readPrivateKeyECDSA(m map[string]string) (PrivateKey, error) { } func readPrivateKeyGOST(m map[string]string) (PrivateKey, error) { - /* TODO(miek) - for k, v := range m { - switch k { - case "gostasn1:": - v1, err := packBase64([]byte(v)) - if err != nil { - return nil, err - } - v1 = v1 - //p.D.SetBytes(v1) - case "created:", "publish:", "activate:": - // not used in Go (yet) - } - } - */ + // TODO(miek) return nil, nil }