]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/sts: fix for wrong certificate getting picked during
authorPritha Srivastava <prsrivas@redhat.com>
Mon, 16 Oct 2023 08:10:10 +0000 (13:40 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Thu, 22 Aug 2024 04:52:41 +0000 (10:22 +0530)
commit1bd56a7312611b061ffb46efc97ac0804cd7a4d8
tree1e7036c7a279b12934546fb6a007d4d6468329ad
parent16d00041f6c1d589757b364ea1479d23a10e4147
rgw/sts: fix for wrong certificate getting picked during
validation of a web token signature.

A boolean flag is incorrectly set to true outside the 'if'
statement, which causes an incorrect cert to be picked.

fixes: https://tracker.ceph.com/issues/54562

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/rgw_rest_sts.cc