chantra / rpms / tpm2-tools

Forked from rpms/tpm2-tools 2 years ago
Clone

Blame SOURCES/ret-on-success-rc-decode.patch

a5f4ba
diff -ur tpm2.0-tools-1.1.0/src/tpm2_rc_decode.c tpm2.0-tools-1.1.0-new/src/tpm2_rc_decode.c
a5f4ba
--- tpm2.0-tools-1.1.0/src/tpm2_rc_decode.c	2016-11-04 07:13:32.000000000 -0700
a5f4ba
+++ tpm2.0-tools-1.1.0-new/src/tpm2_rc_decode.c	2017-04-05 14:23:36.654804125 -0700
a5f4ba
@@ -246,6 +246,7 @@
a5f4ba
         fprintf (stderr, "Unknown TPM_RC format\n");
a5f4ba
         return -1;
a5f4ba
     }
a5f4ba
+    return 0;
a5f4ba
 }
a5f4ba
 /* Top level function to dump human readable data about TPM_RCs.
a5f4ba
  */