src/security: Fix typos

Change-Id: I238fce2d48cf62003a701f972a87974415419538
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38198
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes HAOUAS
2020-01-05 13:14:06 +01:00
committed by Nico Huber
parent 805da6ba53
commit 58f3fd636c
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ int tis_open(void);
/* /*
* tis_close() * tis_close()
* *
* terminate the currect session with the TPM by releasing the locked * terminate the current session with the TPM by releasing the locked
* locality. Returns 0 on success of -1 on failure (in case lock * locality. Returns 0 on success of -1 on failure (in case lock
* removal did not succeed). * removal did not succeed).
*/ */

View File

@@ -89,7 +89,7 @@ static inline int vboot_logic_executed(void)
/* If we are in the stage that runs verification, or in the stage that /* If we are in the stage that runs verification, or in the stage that
both loads the verstage and is returned to from it afterwards, we both loads the verstage and is returned to from it afterwards, we
need to check a global to see if verfication has run. */ need to check a global to see if verification has run. */
if (verification_should_run() || if (verification_should_run() ||
(verstage_should_load() && CONFIG(VBOOT_RETURN_FROM_VERSTAGE))) (verstage_should_load() && CONFIG(VBOOT_RETURN_FROM_VERSTAGE)))
return vboot_executed; return vboot_executed;