]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-util: gracefully skip deserialization when no input
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 8 Aug 2025 02:07:30 +0000 (11:07 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 3 Sep 2025 10:10:48 +0000 (12:10 +0200)
commit944dc1af4ddbd89a339be8dcf169abea8a5a05d1
tree2895824a80faeb1718efb0d5a3314f8d0cf96f12
parent694637e8a4a16f6ccb2ee836e5b1fc0aa3c33709
tpm2-util: gracefully skip deserialization when no input

While at it, this also makes tpm2_deserialize() take struct iovec.

Fixes #38507.

(cherry picked from commit 8d40f3f42e04bf45d337e9b03d0750f3f34b92bb)
src/pcrlock/pcrlock.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h