]> git.proxmox.com Git - efi-boot-shim.git/commit - MokManager.c
MokManager: fix the hash list counting in delete
authorGary Ching-Pang Lin <glin@suse.com>
Mon, 17 Feb 2014 09:49:55 +0000 (17:49 +0800)
committerPeter Jones <pjones@redhat.com>
Tue, 16 Jun 2015 15:41:32 +0000 (11:41 -0400)
commitcd15cc0efc10700414981525b0e99fd80abe29ea
treea0247671fc8681dfbf20a2e85da276e36d2f0ddf
parent8449925662f563fbef1b00e79b312052d72690db
MokManager: fix the hash list counting in delete

match_hash() requests the number of keys in a list and it was
mistakenly replaced with the size of the Mok node. This would
made MokManager to remove the whole Mok node instead of one
hash.

Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
MokManager.c