]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Wed, 5 Nov 2025 13:59:35 +0000 (13:59 +0000)
commit367fc7ef1fe9f0eb1fa1b238513d9541fbbb0d43
tree92247ffe51f6ef2ed2516f7d09d3d150ba05cf82
parentdcaa002f5bd1e185ca86733582e33adecd1b4c4c
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