Permalink
Browse files

Merge branch 'mok' of github.com:mjg59/shim into mok

  • Loading branch information...
2 parents 0e3ff89 + 054dc6d commit 4f54460442ce641c3fa635d9c2ebebf4545b2ee2 Matthew Garrett committed Oct 30, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 dbx.S
  2. +3 −3 shim.c
View
@@ -28,5 +28,5 @@ vendor_dbx:
.type vendor_dbx_size, @object
.size vendor_dbx_size, 4
vendor_dbx_size:
- .long 1
+ .long 0
#endif
View
@@ -340,14 +340,14 @@ static EFI_STATUS check_blacklist (WIN_CERTIFICATE_EFI_PKCS *cert,
if (check_db_hash_in_ram(vendor_dbx, vendor_dbx_size, sha256hash,
SHA256_DIGEST_SIZE, EfiHashSha256Guid) ==
- DATA_NOT_FOUND)
+ DATA_FOUND)
return EFI_ACCESS_DENIED;
if (check_db_hash_in_ram(vendor_dbx, vendor_dbx_size, sha1hash,
SHA1_DIGEST_SIZE, EfiHashSha1Guid) ==
- DATA_NOT_FOUND)
+ DATA_FOUND)
return EFI_ACCESS_DENIED;
if (check_db_cert_in_ram(vendor_dbx, vendor_dbx_size, cert,
- sha256hash) == DATA_NOT_FOUND)
+ sha256hash) == DATA_FOUND)
return EFI_ACCESS_DENIED;
if (check_db_hash(L"dbx", secure_var, sha256hash, SHA256_DIGEST_SIZE,

0 comments on commit 4f54460

Please sign in to comment.