Skip to content

Commit

Permalink
Fix Botan 2/3 include
Browse files Browse the repository at this point in the history
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@49dbbcb (2023-10-11;
"Split out allocator helpers to allocator.h")

Fixes #10038
  • Loading branch information
h3xx authored and droidmonkey committed Nov 23, 2023
1 parent 13c88e1 commit cc0530b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/keys/FileKey.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#ifndef KEEPASSX_FILEKEY_H
#define KEEPASSX_FILEKEY_H

#include <botan/mem_ops.h>
#include <botan/secmem.h>

#include "keys/Key.h"
Expand Down

0 comments on commit cc0530b

Please sign in to comment.