trousers/trousers-0.3.1-cast.patch

13 lines
540 B
Diff
Raw Normal View History

2008-06-04 04:11:48 +00:00
diff -Naur trousers-0.3.1-orig/src/tspi/tspi_nv.c trousers-0.3.1/src/tspi/tspi_nv.c
--- trousers-0.3.1-orig/src/tspi/tspi_nv.c 2007-09-25 13:57:58.000000000 -0500
+++ trousers-0.3.1/src/tspi/tspi_nv.c 2008-06-03 22:20:30.000000000 -0500
@@ -217,7 +217,7 @@
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, (TSS_HPCRS)0, &pPCR_len, &pPCR)))
return result;
NVPublic_DataSize = 0;