tpm2.0-abrmd/fix_dlopen.patch

14 lines
604 B
Diff
Raw Normal View History

Index: tpm2-abrmd-2.0.0/src/tcti-util.c
===================================================================
--- tpm2-abrmd-2.0.0.orig/src/tcti-util.c
+++ tpm2-abrmd-2.0.0/src/tcti-util.c
@@ -53,7 +53,7 @@ tcti_util_discover_info (const char *fil
if (*tcti_dl_handle == NULL) {
size = snprintf (filename_xfrm,
sizeof (filename_xfrm),
- "libtss2-tcti-%s.so.0",
+ "%s.0",
filename);
if (size >= sizeof (filename_xfrm)) {
g_critical ("TCTI name truncated in transform.");