aboutsummaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-01-05 13:14:06 +0100
committerNico Huber <nico.h@gmx.de>2020-01-10 15:20:57 +0000
commit58f3fd636cc03f16f3a84b3d9010c7d856365cb5 (patch)
tree1706eaaa6b7d468f95aaf9b258e35e23c3464a3b /src/security
parent805da6ba53f900e642bf3e1dbe9d979b9d08e63a (diff)
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>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/tpm/tis.h2
-rw-r--r--src/security/vboot/misc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/security/tpm/tis.h b/src/security/tpm/tis.h
index c410838fc2..db7d92bfee 100644
--- a/src/security/tpm/tis.h
+++ b/src/security/tpm/tis.h
@@ -66,7 +66,7 @@ int tis_open(void);
/*
* 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
* removal did not succeed).
*/
diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h
index 0b2c8e54a9..2d5b0845d1 100644
--- a/src/security/vboot/misc.h
+++ b/src/security/vboot/misc.h
@@ -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
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() ||
(verstage_should_load() && CONFIG(VBOOT_RETURN_FROM_VERSTAGE)))
return vboot_executed;