]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/crypt - fix sse-s3 logic.
authorMarcus Watts <mwatts@redhat.com>
Fri, 28 Jan 2022 10:32:14 +0000 (05:32 -0500)
committerMarcus Watts <mwatts@redhat.com>
Tue, 19 Apr 2022 21:35:40 +0000 (17:35 -0400)
commit28409f9ae55e8c02d01f679b48a8b082ccd2657c
tree7b97d454d48cf5bfcc3fe487db10772261ef3d10
parentc6aae196dfee427670728eccbcd34fa6d59cb77c
rgw/crypt - fix sse-s3 logic.

The previous logic path was overly eager to do sse-s3.  This version
ensures that the "no-encryption" case does not default to sse-s3.
It also removes some argument sanity checking which is now down before
this code is reached.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
src/rgw/rgw_crypt.cc