Skip to content

Commit 9f6333a

Browse files
committed
btrfs-progs: build: require Botan version 3.x
The library version 2 is being removed from distros, use the newer one. The minimum requirement of BLAKE2b support is already in the version 3.0.0. Signed-off-by: David Sterba <[email protected]>
1 parent 60f399b commit 9f6333a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

INSTALL

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies are not desired.
2121
- libgcrypt >= 1.8.0
2222
- libsodium >= 1.0.4
2323
- libkcapi >= 1.0.0
24-
- Botan >= 2.19.0
24+
- Botan >= 3.0.0
2525
- OpenSSL >= 3.2.0
2626

2727
Optionally, multipath device detection requires libudev and running udev

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ elif test "$with_crypto" = "libkcapi"; then
274274
cryptoproviderversion=`${PKG_CONFIG} libkcapi --modversion`
275275
elif test "$with_crypto" = "botan"; then
276276
cryptoprovider="botan"
277-
PKG_CHECK_MODULES(BOTAN, [botan-2 >= 2.19.0])
277+
PKG_CHECK_MODULES(BOTAN, [botan-3 >= 3.0.0])
278278
CRYPTOPROVIDER_BOTAN=1
279-
cryptoproviderversion=`${PKG_CONFIG} botan-2 --modversion`
279+
cryptoproviderversion=`${PKG_CONFIG} botan-3 --modversion`
280280
elif test "$with_crypto" = "openssl"; then
281281
cryptoprovider="openssl"
282282
PKG_CHECK_MODULES(OPENSSL, [libcrypto >= 3.2.0])

0 commit comments

Comments
 (0)