From 3326a8cc13b868fabaf0c38a720b1bf69794fbc6 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Thu, 25 Jul 2013 10:49:53 +0000 Subject: - Fix build on -CURRENT. - Take maintainership. --- security/tpm-tools/files/patch-src-data_mgmt-data_protect.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 security/tpm-tools/files/patch-src-data_mgmt-data_protect.c (limited to 'security/tpm-tools/files/patch-src-data_mgmt-data_protect.c') diff --git a/security/tpm-tools/files/patch-src-data_mgmt-data_protect.c b/security/tpm-tools/files/patch-src-data_mgmt-data_protect.c new file mode 100644 index 000000000000..5e6c765dbae9 --- /dev/null +++ b/security/tpm-tools/files/patch-src-data_mgmt-data_protect.c @@ -0,0 +1,10 @@ +--- src/data_mgmt/data_protect.c.orig 2013-07-24 22:04:32.000000000 +0900 ++++ src/data_mgmt/data_protect.c 2013-07-24 22:04:59.000000000 +0900 +@@ -425,6 +425,7 @@ + CK_OBJECT_HANDLE hObject; + CK_MECHANISM tMechanism = { CKM_AES_ECB, NULL, 0 }; + ++ memset(&hSession, 0, sizeof(hSession)); + // Set up i18n + initIntlSys( ); + -- cgit v1.2.3