diff options
Diffstat (limited to 'recipes-tpm/tpm-tools/tpm-tools-1.3.8/gcc6_missleading_indent_fix.patch')
-rw-r--r-- | recipes-tpm/tpm-tools/tpm-tools-1.3.8/gcc6_missleading_indent_fix.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-tpm/tpm-tools/tpm-tools-1.3.8/gcc6_missleading_indent_fix.patch b/recipes-tpm/tpm-tools/tpm-tools-1.3.8/gcc6_missleading_indent_fix.patch new file mode 100644 index 0000000..aec5e7a --- /dev/null +++ b/recipes-tpm/tpm-tools/tpm-tools-1.3.8/gcc6_missleading_indent_fix.patch @@ -0,0 +1,24 @@ +Index: tpm-tools-1.3.8/src/tpm_mgmt/tpm_present.c +=================================================================== +--- tpm-tools-1.3.8.orig/src/tpm_mgmt/tpm_present.c ++++ tpm-tools-1.3.8/src/tpm_mgmt/tpm_present.c +@@ -349,13 +349,13 @@ int main(int argc, char **argv) + } + } while (flags[++i].name); + +- out_success: ++out_success: + logSuccess(argv[0]); + iRc = 0; +- out_close: ++out_close: + contextClose(hContext); +- out: +- if (szTpmPasswd && !isWellKnown) +- shredPasswd( szTpmPasswd ); +- return iRc; ++out: ++ if (szTpmPasswd && !isWellKnown) ++ shredPasswd( szTpmPasswd ); ++return iRc; + } |