shared/tpm2-util: simplify and convert to the new helper
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 22 Jun 2021 07:25:12 +0000 (09:25 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 Jun 2021 08:20:27 +0000 (10:20 +0200)
commitd32f7a8e9bca4170be6a3425bc5e6ce20612c636
tree4df5e48c5391ca550010f168247af194b15b978a
parent1622ef77ee4466074e7d785feabf6bc9115297c8
shared/tpm2-util: simplify and convert to the new helper

The function would return 0 or 3. I don't think the return code was
used for anything, so let's avoid the explicit calculation and return
0 or 1.
src/shared/tpm2-util.c