trousers/trousers-0.3.14-fix-indent-obj_policy.patch
Jerry Snitselaar 5b483f1a22 trousers: Rebase to 0.3.14 release
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
2020-03-18 14:24:22 -07:00

13 lines
498 B
Diff

diff -ur trousers-0.3.14/src/tspi/obj_policy.c trousers-0.3.14-new/src/tspi/obj_policy.c
--- trousers-0.3.14/src/tspi/obj_policy.c 2014-07-23 12:42:44.000000000 -0700
+++ trousers-0.3.14-new/src/tspi/obj_policy.c 2019-05-27 13:29:56.720899059 -0700
@@ -984,7 +984,7 @@
policy->popupString,
policy->Secret)))
goto done;
- policy->SecretSet = TRUE;
+ policy->SecretSet = TRUE;
}
memcpy(secret, policy->Secret, TPM_SHA1_160_HASH_LEN);
*mode = policy->SecretMode;