summaryrefslogtreecommitdiffstats
path: root/src/core/execute.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-08-17 17:28:05 +0200
committerLennart Poettering <lennart@poettering.net>2022-09-08 16:34:27 +0200
commit6a0779cbf9b4d45a64e6beb0fb3892835f4f2905 (patch)
tree082958b2e28f9626c935f91bbcb6d7397a1dfa6c /src/core/execute.c
parenttpm2-util: extend TPM2 policies to optionally check PCR values against signed... (diff)
downloadsystemd-6a0779cbf9b4d45a64e6beb0fb3892835f4f2905.tar.xz
systemd-6a0779cbf9b4d45a64e6beb0fb3892835f4f2905.zip
creds-util: hook up new signed PCR policies
Diffstat (limited to 'src/core/execute.c')
-rw-r--r--src/core/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 0ce18159bd..6474c97e80 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -2746,7 +2746,7 @@ static int load_credential(
_cleanup_free_ void *plaintext = NULL;
size_t plaintext_size = 0;
- r = decrypt_credential_and_warn(id, now(CLOCK_REALTIME), NULL, data, size, &plaintext, &plaintext_size);
+ r = decrypt_credential_and_warn(id, now(CLOCK_REALTIME), NULL, NULL, data, size, &plaintext, &plaintext_size);
if (r < 0)
return r;
@@ -2920,7 +2920,7 @@ static int acquire_credentials(
return log_debug_errno(errno, "Failed to test if credential %s exists: %m", sc->id);
if (sc->encrypted) {
- r = decrypt_credential_and_warn(sc->id, now(CLOCK_REALTIME), NULL, sc->data, sc->size, &plaintext, &size);
+ r = decrypt_credential_and_warn(sc->id, now(CLOCK_REALTIME), NULL, NULL, sc->data, sc->size, &plaintext, &size);
if (r < 0)
return r;