On Fri, Feb 08, 2019 at 10:45:53AM -0500, Stefan Berger wrote:
On 2/8/19 10:42 AM, Jarkko Sakkinen wrote:That's still a better option.
On Fri, Feb 08, 2019 at 09:42:16AM -0500, Stefan Berger wrote: > On 2/8/19 9:05 AM, Jarkko Sakkinen wrote:Then I guess you have to fixes those other two files as well...
At least tpm_nsc_send (tpm_nsc.c) and tpm_inf_send (tpm_infineon.c) are alsoThat would be absolutely wrong way the fix the *actual* issue i.e.
returning the number of bytes sent. I would consider tpm_crb the outlier
that returns 0 and should return the length even though we don't need it...
callbacks returning garbage (sometimes just passing the length parameter
back as a return value).
/Jarkko