diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-11-24 22:38:11 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-11-24 22:38:11 +0000 |
commit | 379f408822f11aa8964b4e53f0ea07355c3b3095 (patch) | |
tree | 06c90d6edaaf8a790d65e7238861e74376cbba98 /app-crypt/trousers/files | |
parent | Marking gail-1.20.1 ppc stable for bug 199740 (diff) | |
download | historical-379f408822f11aa8964b4e53f0ea07355c3b3095.tar.gz historical-379f408822f11aa8964b4e53f0ea07355c3b3095.tar.bz2 historical-379f408822f11aa8964b4e53f0ea07355c3b3095.zip |
Fix 64bit issue, bug#200218, thanks to dev-zero
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'app-crypt/trousers/files')
-rw-r--r-- | app-crypt/trousers/files/trousers-0.3.1-qa.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-crypt/trousers/files/trousers-0.3.1-qa.patch b/app-crypt/trousers/files/trousers-0.3.1-qa.patch new file mode 100644 index 000000000000..5de41eefda4d --- /dev/null +++ b/app-crypt/trousers/files/trousers-0.3.1-qa.patch @@ -0,0 +1,12 @@ +diff -urNp trousers-0.3.1.org/src/tspi/tspi_nv.c trousers-0.3.1/src/tspi/tspi_nv.c +--- trousers-0.3.1.org/src/tspi/tspi_nv.c 2007-09-25 20:57:58.000000000 +0200 ++++ trousers-0.3.1/src/tspi/tspi_nv.c 2007-11-24 21:12:16.000000000 +0200 +@@ -217,7 +217,7 @@ Tspi_NV_ReleaseSpace(TSS_HNVSTORE hNvsto + + nv_data_public.tag = TPM_TAG_NV_DATA_PUBLIC; + +- if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, (TSS_HPCRS)NULL, &pPCR_len, &pPCR))) ++ if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, 0, &pPCR_len, &pPCR))) + return result; + + NVPublic_DataSize = 0; |