some linting

This commit is contained in:
Adrien Delorme 2020-10-14 15:54:51 +02:00
parent c5d6e72720
commit fe8d287036
2 changed files with 3 additions and 3 deletions

View File

@ -141,6 +141,9 @@ func PairFromDSA(key *dsa.PrivateKey) (*Pair, error) {
Priv: key.X,
}
kb, err := asn1.Marshal(k)
if err != nil {
return nil, err
}
privBlk := &pem.Block{
Type: "DSA PRIVATE KEY",
Headers: nil,

View File

@ -8,9 +8,6 @@ import (
)
func TestGeneratePair_parseable(t *testing.T) {
type args struct {
t Algorithm
}
tests := []struct {
t Algorithm
}{