Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the prng_descriptor was changed to a pointer to descriptors in 7892cb1 "ltc: make prng_descriptor a pointer to descriptors" wasn't the find_prng() updated properly. This causes NULL pointer error if the PRNG name isn't found before the list is exhausted. This patch fixes this problem. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: David Brown <david.brown@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
- Loading branch information