From 779a7b9c7fbe84a89fabc38a468dcc1bf0f6250c Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sun, 25 Feb 2024 21:38:02 -0800 Subject: Fix building against botan 3.3 --- cc0530ba.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 cc0530ba.patch (limited to 'cc0530ba.patch') diff --git a/cc0530ba.patch b/cc0530ba.patch new file mode 100644 index 0000000..49506eb --- /dev/null +++ b/cc0530ba.patch @@ -0,0 +1,31 @@ +From cc0530ba4671a7e2b6ac4a6c00cd097f4114fd22 Mon Sep 17 00:00:00 2001 +From: Dan Church +Date: Sun, 19 Nov 2023 11:05:21 -0600 +Subject: [PATCH] Fix Botan 2/3 include + +Botan::secure_scrub_memory -> defined in mem_ops.h +Botan::secure_vector -> defined in secmem.h + +The reason only including secmem.h worked in previous (<3.0) versions of +Botan was because secmem.h included mem_ops.h. This is no longer the +case since commit +randombit/botan@49dbbcb2bfda05ef9d3f09848c9ba22fcbcd5066 (2023-10-11; +"Split out allocator helpers to allocator.h") + +Fixes #10038 +--- + src/keys/FileKey.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/keys/FileKey.h b/src/keys/FileKey.h +index 795f03bdbc..65cd955a7c 100644 +--- a/src/keys/FileKey.h ++++ b/src/keys/FileKey.h +@@ -19,6 +19,7 @@ + #ifndef KEEPASSX_FILEKEY_H + #define KEEPASSX_FILEKEY_H + ++#include + #include + + #include "keys/Key.h" -- cgit v1.2.1