Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit c9ac459

Browse files
authored
Merge pull request #338 from kelsin/v2
fix: add ExtraHeaders from options object to multi encrypter
2 parents 7d610ab + 979f074 commit c9ac459

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crypter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ func NewMultiEncrypter(enc ContentEncryption, rcpts []Recipient, opts *Encrypter
216216

217217
if opts != nil {
218218
encrypter.compressionAlg = opts.Compression
219+
encrypter.extraHeaders = opts.ExtraHeaders
219220
}
220221

221222
for _, recipient := range rcpts {

0 commit comments

Comments
 (0)