summaryrefslogtreecommitdiff
path: root/debian/patches/cast-CHAR8-string-handling.patch
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2021-03-23 23:38:30 +0000
committerSteve McIntyre <steve@einval.com>2021-03-23 23:38:30 +0000
commitf43e9abcc596c1b2934e7f43bddf173f74f3866c (patch)
tree29d1ed14f561f417a71e837afecc4c01221db451 /debian/patches/cast-CHAR8-string-handling.patch
parente6b19d2db7be7f9535cc06ecb8493e1336c7b78d (diff)
downloadefi-boot-shim-f43e9abcc596c1b2934e7f43bddf173f74f3866c.tar.gz
efi-boot-shim-f43e9abcc596c1b2934e7f43bddf173f74f3866c.zip
Remove all out outstanding patches
* cast-CHAR8-string-handling.patch no longer needed * fix-Make.coverity-bashisms.patch went upstream
Diffstat (limited to 'debian/patches/cast-CHAR8-string-handling.patch')
-rw-r--r--debian/patches/cast-CHAR8-string-handling.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/cast-CHAR8-string-handling.patch b/debian/patches/cast-CHAR8-string-handling.patch
deleted file mode 100644
index e92c8534..00000000
--- a/debian/patches/cast-CHAR8-string-handling.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/sbat.c b/sbat.c
-index 446bed1a..0946dfbb 100644
---- a/sbat.c
-+++ b/sbat.c
-@@ -154,7 +154,8 @@ verify_single_entry(struct sbat_entry *entry, struct sbat_var *sbat_var_entry)
- {
- UINT16 sbat_gen, sbat_var_gen;
-
-- if (strcmp(entry->component_name, sbat_var_entry->component_name) == 0) {
-+ if (strcmp((const char *)entry->component_name,
-+ (const char *)sbat_var_entry->component_name) == 0) {
- dprint(L"component %a has a matching SBAT variable entry, verifying\n",
- entry->component_name);
-
-@@ -162,8 +163,8 @@ verify_single_entry(struct sbat_entry *entry, struct sbat_var *sbat_var_entry)
- * atoi returns zero for failed conversion, so essentially
- * badly parsed component_generation will be treated as zero
- */
-- sbat_gen = atoi(entry->component_generation);
-- sbat_var_gen = atoi(sbat_var_entry->component_generation);
-+ sbat_gen = atoi((const char *)entry->component_generation);
-+ sbat_var_gen = atoi((const char *)sbat_var_entry->component_generation);
-
- if (sbat_gen < sbat_var_gen) {
- dprint(L"component %a, generation %d, was revoked by SBAT variable",