pgp: Fix emu build and tests after pgp module renaming

Commit b07feb8746 (verifiers: Rename
verify module to pgp module) renamed the "verify" module to "pgp", but
the GRUB_MOD_INIT and GRUB_MOD_FINI macros were left as "verify", which
broke the emu target build; and file_filter_test still referred to the
now non-existent "verify" module. Fix both of these.

Signed-off-by: Colin Watson <cjwatson@ubuntu.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Colin Watson authored and Daniel Kiper committed 2019-01-14 13:05:18 +01:00
1 parent e86f6aafb8
commit ed087f0460
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -949,7 +949,7 @@ struct grub_file_verifier grub_pubkey_verifier =
static grub_extcmd_t cmd, cmd_trust;
static grub_command_t cmd_distrust, cmd_list;
GRUB_MOD_INIT(verify)
GRUB_MOD_INIT(pgp)
{
const char *val;
struct grub_module_header *header;
@@ -1008,7 +1008,7 @@ GRUB_MOD_INIT(verify)
grub_verifier_register (&grub_pubkey_verifier);
}
GRUB_MOD_FINI(verify)
GRUB_MOD_FINI(pgp)
{
grub_verifier_unregister (&grub_pubkey_verifier);
grub_unregister_extcmd (cmd);