Searched hist:d2bcdd5c (Results 1 – 1 of 1) sorted by relevance
/openbmc/google-misc/subprojects/libcr51sign/src/ |
H A D | libcr51sign.c | d2bcdd5c Tue Nov 02 21:51:22 CDT 2021 Willy Tu <wltu@google.com> Fixed prod_to_dev_downgrade_allowed logic in validate_transition
The documentation for the prod_to_dev_downgrade_allowed function pointer reads, "If NULL, treated as if the function always returns false."
Return `LIBCR51SIGN_ERROR_DEV_DOWNGRADE_DISALLOWED` if prod_to_dev allowed return false or is NULL.
Change-Id: I4750256d308096e706bb9e0e0266d365b6f5a026 Signed-off-by: Willy Tu <wltu@google.com>
|