use TSS_PCRS_STRUCT_DEFAULT
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 8 Jul 2012 05:37:04 +0000 (07:37 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 11 Jul 2012 15:09:04 +0000 (17:09 +0200)
src/libpts/pts/pts.c

index 65ae2b2..f134b22 100644 (file)
@@ -943,7 +943,7 @@ METHOD(pts_t, quote_tpm, bool,
                        Tspi_Context_CreateObject(hContext, TSS_OBJECT_TYPE_PCRS,
                                                        TSS_PCRS_STRUCT_INFO_SHORT, &hPcrComposite) :
                        Tspi_Context_CreateObject(hContext, TSS_OBJECT_TYPE_PCRS,
-                                                       0, &hPcrComposite);
+                                                       TSS_PCRS_STRUCT_DEFAULT, &hPcrComposite);
        if (result != TSS_SUCCESS)
        {
                goto err2;