From ae7a903e8b9b35c9a22f393237e250f9ba27758c Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Thu, 7 Nov 2024 21:14:41 +0100 Subject: [PATCH] Fix test. --- openpgp/clearsign/clearsign_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") }