diff for duplicates of <20200904125931.GE39023@linux.intel.com> diff --git a/a/1.txt b/N1/1.txt index 885cf7f..969b48a 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -69,7 +69,7 @@ In the last paragraph, please use imperative form: "Add support for ...". > + > + ret = pkcs7_validate_trust(pkcs7, blacklist_keyring); > + -> + if (ret = 0) +> + if (ret == 0) > + return -EKEYREJECTED; > + > + return -ENOKEY; @@ -152,9 +152,9 @@ In the last paragraph, please use imperative form: "Add support for ...". > * the UEFI db and MokListRT tables. > @@ -76,5 +85,7 @@ __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type) > return uefi_blacklist_x509_tbs; -> if (efi_guidcmp(*sig_type, efi_cert_sha256_guid) = 0) +> if (efi_guidcmp(*sig_type, efi_cert_sha256_guid) == 0) > return uefi_blacklist_binary; -> + if (efi_guidcmp(*sig_type, efi_cert_x509_guid) = 0) +> + if (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0) > + return uefi_revocationlist_x509; > return 0; > } diff --git a/a/content_digest b/N1/content_digest index 32d74b2..068882d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020200901165143.10295-1-eric.snowberg@oracle.com\0" "From\0Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>\0" "Subject\0Re: [RFC PATCH] certs: Add EFI_CERT_X509_GUID support for dbx entries]\0" - "Date\0Fri, 04 Sep 2020 12:59:31 +0000\0" + "Date\0Fri, 4 Sep 2020 15:59:31 +0300\0" "To\0Eric Snowberg <eric.snowberg@oracle.com>\0" "Cc\0dhowells@redhat.com" dwmw2@infradead.org @@ -87,7 +87,7 @@ "> +\n" "> +\tret = pkcs7_validate_trust(pkcs7, blacklist_keyring);\n" "> +\n" - "> +\tif (ret = 0)\n" + "> +\tif (ret == 0)\n" "> +\t\treturn -EKEYREJECTED;\n" "> +\n" "> +\treturn -ENOKEY;\n" @@ -170,9 +170,9 @@ "> * the UEFI db and MokListRT tables.\n" "> @@ -76,5 +85,7 @@ __init efi_element_handler_t get_handler_for_dbx(const efi_guid_t *sig_type)\n" "> \t\treturn uefi_blacklist_x509_tbs;\n" - "> \tif (efi_guidcmp(*sig_type, efi_cert_sha256_guid) = 0)\n" + "> \tif (efi_guidcmp(*sig_type, efi_cert_sha256_guid) == 0)\n" "> \t\treturn uefi_blacklist_binary;\n" - "> +\tif (efi_guidcmp(*sig_type, efi_cert_x509_guid) = 0)\n" + "> +\tif (efi_guidcmp(*sig_type, efi_cert_x509_guid) == 0)\n" "> +\t\treturn uefi_revocationlist_x509;\n" "> \treturn 0;\n" "> }\n" @@ -184,4 +184,4 @@ "\n" /Jarkko -620b690af133046f12c33da1de82bbbfc0bbe424c2d3c3c368b039bfda0993c1 +cbe6f5220af6b8994ccc5a2b9912636cb5825c0258ea7cf8e8f1a73f111a2996
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.