creds: fix cat with encrypted credentials
authorSimon Pilkington <simonp.git@mailbox.org>
Wed, 25 Sep 2024 09:25:48 +0000 (11:25 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 8 Oct 2024 15:39:12 +0000 (16:39 +0100)
commitbc0ba0030b83cea3c5bf62695bb70f406fe6d12d
tree2131ca16a5e67aa203c1663477b5e89b077710cc
parent4143bc70ed7d131cda9f0aa2f86d4aedd38e0fce
creds: fix cat with encrypted credentials

Fixes: https://github.com/systemd/systemd/issues/34547
(cherry picked from commit 32951fe4de683f5d42cec2fb2e036f766b051e2b)
src/creds/creds.c
test/units/TEST-54-CREDS.sh