Closed nefigtut closed 4 months ago
Add ssize_t r2 variable for write() return value. Use retval variable solely as a boolean for the function return code. Subtract TPM_GET_RNG_OVERHEAD from r after the check.
Fixes #210.
Add ssize_t r2 variable for write() return value. Use retval variable solely as a boolean for the function return code. Subtract TPM_GET_RNG_OVERHEAD from r after the check.
Fixes #210.