tpm2-util: rename json field "tpm2-pcrlock" → "tpm2_pcrlock"
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Nov 2023 14:28:39 +0000 (15:28 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 21 Nov 2023 16:58:48 +0000 (16:58 +0000)
commit07e89d501fc9f6ce190dcd43ddce8b1f6a393909
treed6c1b95d97079e276e1219e8f73a233d1b585a9a
parent7ec22d7d4b9694462d2c6f98eaccc887f42f9b94
tpm2-util: rename json field "tpm2-pcrlock" → "tpm2_pcrlock"

We generally want to avoid to include dashes in json field names. We
historically made a mistake there which is hard to fix. But for new
fields, let's get this right. We already got it right for a bunch of new
fields, hence also make sure to use underscores rather dashes for new
additions.

This field was added post v254, and since we didn't release since then,
let's just rename it.
src/shared/tpm2-util.c