Skip to content

Commit

Permalink
Fix multipart copy of a large encrypted object (#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadmeste authored and nitisht committed Jul 11, 2018
1 parent d68060b commit f44ca54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-compose-object.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func (c Client) ComposeObjectWithProgress(dst DestinationInfo, srcs []SourceInfo
for i, src := range srcs {
h := src.Headers
if src.encryption != nil {
src.encryption.Marshal(h)
encrypt.SSECopy(src.encryption).Marshal(h)
}
// Add destination encryption headers
if dst.encryption != nil {
Expand Down

0 comments on commit f44ca54

Please sign in to comment.