summaryrefslogtreecommitdiff
path: root/lib/gnutls_global.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-07-13 16:25:16 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-07-13 16:42:53 +0200
commit902de48cb362ed428fd8213a92522faa6070f00c (patch)
tree1972b03601a4062c3cff79809c45b10b99ba6b6d /lib/gnutls_global.c
parent222e6b61fd6010a6ce08bcb65a37f27f257c3ae8 (diff)
downloadgnutls-902de48cb362ed428fd8213a92522faa6070f00c.tar.gz
TPM: don't link to trousers, use dlopen()
That introduces --with-trousers-lib which can be used to specify the library to dlopen(). Resolves #18
Diffstat (limited to 'lib/gnutls_global.c')
-rw-r--r--lib/gnutls_global.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c
index f17740514e..19376757fd 100644
--- a/lib/gnutls_global.c
+++ b/lib/gnutls_global.c
@@ -402,6 +402,7 @@ static void _gnutls_global_deinit(unsigned destructor)
gnutls_pkcs11_deinit();
}
#endif
+ _gnutls_tpm_global_deinit();
gnutls_mutex_deinit(&_gnutls_file_mutex);
gnutls_mutex_deinit(&_gnutls_pkcs11_mutex);