summaryrefslogtreecommitdiff
path: root/lib/tpm2.c
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2021-11-22 10:59:38 +0000
committerDaiki Ueno <ueno@gnu.org>2021-11-22 10:59:38 +0000
commit8f17428b84f877bd04e03b6cccd0f4f23101ef3a (patch)
tree247b778cbba3e9dec8f84bd47116a1c9cc424abd /lib/tpm2.c
parenta957c6c0b4abf6cb1c9756ef10e8b884cf7ae8aa (diff)
parentf0b5403b9d89c2231d7ac84f53f3723075ef0fb3 (diff)
downloadgnutls-8f17428b84f877bd04e03b6cccd0f4f23101ef3a.tar.gz
Merge branch 'wip/dueno/thr' into 'master'
locks: couple of improvements using Gnulib glthread See merge request gnutls/gnutls!1485
Diffstat (limited to 'lib/tpm2.c')
-rw-r--r--lib/tpm2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tpm2.c b/lib/tpm2.c
index 5c293a553c..076cc7f407 100644
--- a/lib/tpm2.c
+++ b/lib/tpm2.c
@@ -294,3 +294,8 @@ int _gnutls_load_tpm2_key(gnutls_privkey_t pkey, const gnutls_datum_t *fdata)
gnutls_free(asn1.data);
return ret;
}
+
+void _gnutls_tpm2_deinit(void)
+{
+ tpm2_tcti_deinit();
+}