aboutsummaryrefslogtreecommitdiffstats
path: root/community/tpm2-tss/dl_test_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/tpm2-tss/dl_test_fix.patch')
-rw-r--r--community/tpm2-tss/dl_test_fix.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/community/tpm2-tss/dl_test_fix.patch b/community/tpm2-tss/dl_test_fix.patch
deleted file mode 100644
index e2820f1d2a..0000000000
--- a/community/tpm2-tss/dl_test_fix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/Makefile-test.am b/Makefile-test.am
-index d7347148..ab2d1425 100644
---- a/Makefile-test.am
-+++ b/Makefile-test.am
-@@ -475,7 +475,7 @@ test_unit_tctildr_dl_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) \
- -UESYS_TCTI_DEFAULT_MODULE -UESYS_TCTI_DEFAUT_CONFIG
- test_unit_tctildr_dl_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) $(LIBADD_DL)
- test_unit_tctildr_dl_LDFLAGS = -Wl,--wrap=dlopen,--wrap=dlclose,--wrap=dlsym \
-- -Wl,--wrap=tcti_from_init,--wrap=tcti_from_info
-+ -Wl,--wrap=tcti_from_init,--wrap=tcti_from_info,--wrap=__dlsym_time64
- test_unit_tctildr_dl_SOURCES = test/unit/tctildr-dl.c \
- src/tss2-tcti/tctildr-dl.c
-
-diff --git a/test/unit/tctildr-dl.c b/test/unit/tctildr-dl.c
-index 873a4531..4279baee 100644
---- a/test/unit/tctildr-dl.c
-+++ b/test/unit/tctildr-dl.c
-@@ -55,6 +55,12 @@ __wrap_dlsym(void *handle, const char *symbol)
- return mock_type(void *);
- }
-
-+void *
-+__wrap___dlsym_time64(void *handle, const char *symbol)
-+{
-+ return __wrap_dlsym(handle, symbol);
-+}
-+
- TSS2_TCTI_INFO *
- __wrap_Tss2_Tcti_Fake_Info(void)
- {