summaryrefslogtreecommitdiff
path: root/Cryptlib/Include/openssl/whrlpool.h
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-08-03 17:00:42 -0400
committerPeter Jones <pjones@redhat.com>2017-08-18 12:45:02 -0400
commit5202f80c32bdcab0469785e953bf9fa8dd4eaaa1 (patch)
treec74bbbdfcf8d9fd0cf3662bc4a19de2d76ac95e8 /Cryptlib/Include/openssl/whrlpool.h
parent81b28b7e95cbb2d9cf936430eb0ca11465cad6d8 (diff)
downloadefi-boot-shim-5202f80c32bdcab0469785e953bf9fa8dd4eaaa1.tar.gz
efi-boot-shim-5202f80c32bdcab0469785e953bf9fa8dd4eaaa1.zip
Rework looping in enter_mok_menu(), to allow multiple MOK changes
Rather than looping once through the possible actions (MokNew, MokDel, etc.), revise the logic so that instead of rebooting immediately we get back to the main menu setting a flag to replace "Continue booting" with a proper reboot. Getting back to the menu means we can go make other changes before rebooting. For instance, you might want to enable validation, but beforehand you also need to enroll a MOK. You can already do so from userland; except the requests were cleared as soon as one of them was processed. This involves some extra cleanup of the states to avoid running the same request more than once, removing the option from the menu once it's done, and changing prompting functions to return an EFI_STATUS so we can better track whether the process has succeeded. Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
Diffstat (limited to 'Cryptlib/Include/openssl/whrlpool.h')
0 files changed, 0 insertions, 0 deletions