Exclude the padded NULL when comparing the file size
Exclude the padded NULL when comparing the file size

In vars_del_variable(), this "if" statement always failed because
read_file() returned the actual file size +1.

if (rc < 0 || (buf_size != sizeof(efi_kernel_variable_64_t) &&
               buf_size != sizeof(efi_kernel_variable_32_t)))

Signed-off-by: Gary Ching-Pang Lin <a057d4b27e9e9055b973f54b519db54c22ed5ee8@suse.com>

rhboot/efivar,rhboot/efivar,rhinstaller/efivar,vathpela/efivar-devel,rhinstaller/efivar