opnsense-ports/security/tpm-tools/files/patch-src-data_mgmt-data_protect.c
Franco Fichtner a0921d0a00 */*: sync with upstream
Taken from: FreeBSD
2016-05-19 16:29:05 +02:00

10 lines
308 B
C

--- src/data_mgmt/data_protect.c.orig 2012-05-17 17:49:58 UTC
+++ src/data_mgmt/data_protect.c
@@ -437,6 +437,7 @@ main( int a_iArgc,
CK_OBJECT_HANDLE hObject;
CK_MECHANISM tMechanism = { CKM_AES_ECB, NULL, 0 };
+ memset(&hSession, 0, sizeof(hSession));
// Set up i18n
initIntlSys( );