Skip to content

Commit

Permalink
Fix #239
Browse files Browse the repository at this point in the history
Fixes #239
  • Loading branch information
mdosch committed Nov 7, 2024
1 parent f6ad483 commit 8d521e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openpgp/clearsign/clearsign.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func (d *dashEscaper) Close() (err error) {

// Encode returns a WriteCloser which will clear-sign a message with privateKey
// and write it to w. If config is nil, sensible defaults are used.
func Encode(w io.Writer, privateKey *packet.PrivateKey, config *packet.Config, headers map[string]string) (plaintext io.WriteCloser, err error) {
func Encode(w io.Writer, privateKey *packet.PrivateKey, config *packet.Config) (plaintext io.WriteCloser, err error) {
return EncodeMulti(w, []*packet.PrivateKey{privateKey}, config)
}

Expand Down

0 comments on commit 8d521e9

Please sign in to comment.