]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: Simplify getting decrypted fname
authorChristopher Hoffman <choffman@redhat.com>
Wed, 23 Apr 2025 16:33:46 +0000 (16:33 +0000)
committerChristopher Hoffman <choffman@redhat.com>
Fri, 15 Aug 2025 16:03:31 +0000 (16:03 +0000)
commit67223c79b818b14138447417a1ffd46ce7b8d9df
tree8cea232d0da76a6f3a481e86911e54b89f39752d
parent60d2b304eca870992aed0cd3e4741d5bc7664901
client: Simplify getting decrypted fname

During unwrap name, get_decrypted_fname parameters accepts
dname/b64 name and altname. If altname holds a value, this means
that a plaintext name will be built from altname. In this
case, dname/b64 name is irrelevant. In the case of empty altname,
build name from b64 name.

Fixes: https://tracker.ceph.com/issues/70995
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
src/client/Client.cc