-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Botan3: Missing include (botan/dl_group.h) #9402
Copy link
Copy link
Closed
Description
Overview
Building KeepassXC fails with Botan3.
Steps to Reproduce
- Install botan3
- Clone develop
- Try building
Expected Behavior
Build should succeed.
Actual Behavior
Build fails with error:
In constructor ‘FdoSecrets::DhIetf1024Sha256Aes128CbcPkcs7::DhIetf1024Sha256Aes128CbcPkcs7(const QByteArray&)’:
keepassxc/src/fdosecrets/objects/SessionCipher.cpp:43:113: error: invalid use of incomplete type ‘class Botan::DL_Group’
43 | m_privateKey.reset(new Botan::DH_PrivateKey(*randomGen()->getRng(), Botan::DL_Group("modp/ietf/1024")));
| ^
In file included from keepassxc/src/fdosecrets/objects/SessionCipher.cpp:26:
/usr/include/botan-3/botan/dh.h:17:7: note: forward declaration of ‘class Botan::DL_Group’
17 | class DL_Group;
| ^~~~~~~~
Context
Operating System: Linux
Desktop Env: i3
Windowing System: X11
Compiler: GCC 13.1.1
Botan Version: 3.0.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels