platform/x86: think-lmi: improve check if BIOS account security enabled

Improve determination of whether authentication account is enabled by
checking if either password or certificate is enabled.

Renamed valid to pwd_enabled for better readability.

Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20241024195536.6992-1-mpearson-lenovo@squebb.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
Mark Pearson 2024-10-24 15:55:21 -04:00 • committed by Ilpo Järvinen
commit b39e8ece93
No known key found for this signature in database
GPG key ID: 59AC4F6153E5CE31
2 changed files with 14 additions and 14 deletions