tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
151 stars 100 forks source link

Remove unused code #172

Open AndreasFuchsTPM opened 4 years ago

AndreasFuchsTPM commented 4 years ago

The if statement always evaluates to true:

https://github.com/tpm2-software/tpm2-tss-engine/blob/8acc6181f27c1b60263ab9ad5e28f4638e0460ed/src/tpm2-tss-engine-common.c#L490