diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-04-16 13:45:00 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-04-18 18:12:23 +0200 |
commit | 98ef5f8419ade95b7df0022ced6559cf47b80b83 (patch) | |
tree | b5400560365d176593814d00d685f500b7904954 /src/shared/tpm2-util.c | |
parent | tpm2-util: import two more symbols from tpm2-tss libraries (diff) | |
download | systemd-98ef5f8419ade95b7df0022ced6559cf47b80b83.tar.xz systemd-98ef5f8419ade95b7df0022ced6559cf47b80b83.zip |
tpm2: export tpm2_get_name()
We later want to use this from pcrlock.c, hence export it.
Diffstat (limited to 'src/shared/tpm2-util.c')
-rw-r--r-- | src/shared/tpm2-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/tpm2-util.c b/src/shared/tpm2-util.c index 69f8ee7a7c..0c20024b98 100644 --- a/src/shared/tpm2-util.c +++ b/src/shared/tpm2-util.c @@ -3396,7 +3396,7 @@ int tpm2_calculate_pubkey_name(const TPMT_PUBLIC *public, TPM2B_NAME *ret_name) * * The handle must reference a key already present in the TPM. It may be either a public key only, or a * public/private keypair. */ -static int tpm2_get_name( +int tpm2_get_name( Tpm2Context *c, const Tpm2Handle *handle, TPM2B_NAME **ret_name) { |