mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
0ba8c0a19b
This commit fixes a bug introduced by af0c65b. When there is no / an empty client-provided SSE-KMS context the `ParseMetadata` may return a nil map (`kms.Context`). When unsealing the object key we must check that the context is nil before assigning a key-value pair. Signed-off-by: Andreas Auernhammer <aead@mail.de>