keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.17k stars 1.42k forks source link

Botan: don't call deprecated functions #10826

Closed c4rlo closed 1 month ago

c4rlo commented 1 month ago

These commits were temporarily part of #7783, but they are unrelated to Qt and make more sense separately.

Fix a couple of cases where we were using deprecated Botan symbols. This is in service of making a -DWITH_DEV_BUILD=ON build compile successfully, which this achieves when combined with #7783.

This is behind a Botan version ifdef, because Botan 2 only has the old symbols, whereas Botan 3 deprecates the old symbols and introduces the new ones.

Type of change