diff --git a/openpgp/clearsign/clearsign_test.go b/openpgp/clearsign/clearsign_test.go index 5d0396be4..0e93c8641 100644 --- a/openpgp/clearsign/clearsign_test.go +++ b/openpgp/clearsign/clearsign_test.go @@ -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 @@ -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") }