48d0393
diff -Naur trousers-0.3.1-orig/src/tspi/tspi_nv.c trousers-0.3.1/src/tspi/tspi_nv.c
48d0393
--- trousers-0.3.1-orig/src/tspi/tspi_nv.c	2007-09-25 13:57:58.000000000 -0500
48d0393
+++ trousers-0.3.1/src/tspi/tspi_nv.c	2008-06-03 22:20:30.000000000 -0500
48d0393
@@ -217,7 +217,7 @@
48d0393
 
48d0393
 	nv_data_public.tag = TPM_TAG_NV_DATA_PUBLIC;
48d0393
 
48d0393
-	if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, (TSS_HPCRS)NULL, &pPCR_len, &pPCR)))
48d0393
+	if ((result = obj_nvstore_create_pcrshortinfo(hNvstore, (TSS_HPCRS)0, &pPCR_len, &pPCR)))
48d0393
 		return result;
48d0393
 
48d0393
 	NVPublic_DataSize = 0;