Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdosch committed Nov 7, 2024
1 parent 8d521e9 commit ae7a903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpgp/clearsign/clearsign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestSigning(t *testing.T) {
for i, test := range signingTests {
var buf bytes.Buffer

plaintext, err := Encode(&buf, keyring[0].PrivateKey, allowAllAlgorithmsConfig, nil)
plaintext, err := Encode(&buf, keyring[0].PrivateKey, allowAllAlgorithmsConfig)
if err != nil {
t.Errorf("#%d: error from Encode: %s", i, err)
continue
Expand Down Expand Up @@ -155,7 +155,7 @@ func TestSigningInterop(t *testing.T) {
}

var buf bytes.Buffer
plaintext, err := Encode(&buf, keyring[0].PrivateKey, nil, nil)
plaintext, err := Encode(&buf, keyring[0].PrivateKey, nil)
if err != nil {
t.Errorf("error from Encode")
}
Expand Down

0 comments on commit ae7a903

Please sign in to comment.