]> git.baikalelectronics.ru Git - kernel.git/commit
integrity: Move import of MokListRT certs to a separate routine
authorLenny Szubowicz <lszubowi@redhat.com>
Sat, 5 Sep 2020 01:31:06 +0000 (21:31 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 16 Sep 2020 15:53:42 +0000 (18:53 +0300)
commit48a571c8b6014569a895e15fc637fe9e4f0f4422
treed141f50253f8b2d14223f79fe401d6f6129feec2
parentaca8d3119dccedc2ee293a51a0e70f3d78076dfa
integrity: Move import of MokListRT certs to a separate routine

Move the loading of certs from the UEFI MokListRT into a separate
routine to facilitate additional MokList functionality.

There is no visible functional change as a result of this patch.
Although the UEFI dbx certs are now loaded before the MokList certs,
they are loaded onto different key rings. So the order of the keys
on their respective key rings is the same.

Signed-off-by: Lenny Szubowicz <lszubowi@redhat.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Link: https://lore.kernel.org/r/20200905013107.10457-3-lszubowi@redhat.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
security/integrity/platform_certs/load_uefi.c