Add botan 2 support

Authored by arojas on Apr 11 2018, 7:43 PM.

Description

Add botan 2 support

Botan 1.10 will be EOL'd this year. This patch is a rough port to botan 2 API. Also:

  • Removes support for botan < 1.10 to simplify code (1.10 was released 7 years ago)
  • Ports the cmake module to use pkgconfig, since botan-config doesn't exist anymore in v2.
  • To minimize ifdef'd code, botan2 unique_ptr's are release'd
  • Removes -ansi C(XX)FLAGS, botan 2 requires C++11

Differential Revision: https://phabricator.kde.org/D11997

Details

Committed
arojasApr 11 2018, 7:43 PM
Differential Revision
D11997: Add botan 2 support
Parents
R486:3e6a86b6b83a: Merge branch 'v2.1'
Branches
Unknown
Tags
Unknown
Reverted By
R486:01cbb3177069: Revert "Add botan 2 support"