1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

creds: fix typo

Follow-up for 8464f7cbd6.
This commit is contained in:
Yu Watanabe 2024-02-02 09:20:02 +09:00
parent 14f95de8da
commit 9d7f6b3db4

View File

@ -1186,7 +1186,7 @@ static int vl_method_encrypt(Varlink *link, JsonVariant *parameters, VarlinkMeth
bool own_scope = p.scope == CREDENTIAL_USER && p.uid == peer_uid;
if (!own_scope || !timestamp_fresh) {
/* Insist on PK if client wants to encrypt for another user or the system, or if the timestamp was explicitly overriden. */
/* Insist on PK if client wants to encrypt for another user or the system, or if the timestamp was explicitly overridden. */
r = varlink_verify_polkit_async(
link,
/* bus= */ NULL,