pkgconf: change to new library paths
[unleashed-userland.git] / components / trousers / patches / tcs_tcs_caps.c.patch
blobd06e3bacde0e065a8791d746abaf6321286f6c5f
1 --- a/src/tcs/tcs_caps.c.old Wed Jun 9 13:20:44 2010
2 +++ b/src/tcs/tcs_caps.c Fri Jul 1 16:26:51 2011
3 @@ -149,6 +149,7 @@
5 TSS_RESULT result;
6 UINT32 subCap, rv = 0;
7 + UINT32 manuf;
9 if ((result = get_current_version(&p->version)))
10 goto err;
11 @@ -181,8 +182,9 @@
13 UINT32ToArray(TPM_CAP_PROP_MANUFACTURER, (BYTE *)&subCap);
14 if ((result = get_cap_uint32(TCPA_CAP_PROPERTY, (BYTE *)&subCap, sizeof(UINT32),
15 - (UINT32 *)&p->manufacturer)))
16 + (UINT32 *)&manuf)))
17 goto err;
18 + (void) memcpy(p->manufacturer, &manuf, sizeof (UINT32));
20 result = get_max_auths(&(p->num_auths));