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.
This commit is contained in:
parent
518ab47648
commit
24296ac36e
16
kscan.go
16
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue