diff options
Diffstat (limited to 'security/tpm-tools/files/patch-src-tpm_mgmt-tpm_takeownership.c')
-rw-r--r-- | security/tpm-tools/files/patch-src-tpm_mgmt-tpm_takeownership.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/security/tpm-tools/files/patch-src-tpm_mgmt-tpm_takeownership.c b/security/tpm-tools/files/patch-src-tpm_mgmt-tpm_takeownership.c new file mode 100644 index 000000000000..58f619a35ed8 --- /dev/null +++ b/security/tpm-tools/files/patch-src-tpm_mgmt-tpm_takeownership.c @@ -0,0 +1,10 @@ +--- src/tpm_mgmt/tpm_takeownership.c.orig 2013-07-24 22:02:59.000000000 +0900 ++++ src/tpm_mgmt/tpm_takeownership.c 2013-07-24 22:03:53.000000000 +0900 +@@ -77,6 +77,7 @@ + {"srk-well-known", no_argument, NULL, 'z'}, + }; + ++ memset(&hSrk, 0, sizeof(hSrk)); + initIntlSys(); + + if (genericOptHandler |