aboutsummaryrefslogtreecommitdiffstats
path: root/security/tpm-tools/files/patch-src-tpm_mgmt-tpm_takeownership.c
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-07-25 18:49:53 +0800
committerhrs <hrs@FreeBSD.org>2013-07-25 18:49:53 +0800
commit04cf01290525bc15f8a386394590b389beae650f (patch)
treec08f9fc2029348d360f35885dabe955a7ec38921 /security/tpm-tools/files/patch-src-tpm_mgmt-tpm_takeownership.c
parenta2d3ab909b00b1f1e9123e41c8451b39c9a87e8f (diff)
downloadfreebsd-ports-gnome-04cf01290525bc15f8a386394590b389beae650f.tar.gz
freebsd-ports-gnome-04cf01290525bc15f8a386394590b389beae650f.tar.zst
freebsd-ports-gnome-04cf01290525bc15f8a386394590b389beae650f.zip
- Fix build on -CURRENT.
- Take maintainership.
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.c10
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