some linting
This commit is contained in:
parent
c5d6e72720
commit
fe8d287036
|
@ -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,
|
||||
|
|
|
@ -8,9 +8,6 @@ import (
|
|||
)
|
||||
|
||||
func TestGeneratePair_parseable(t *testing.T) {
|
||||
type args struct {
|
||||
t Algorithm
|
||||
}
|
||||
tests := []struct {
|
||||
t Algorithm
|
||||
}{
|
||||
|
|
Loading…
Reference in New Issue