libceph: select CRYPTO_CBC in addition to CRYPTO_AES
authorIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 5 Sep 2014 16:16:52 +0000 (20:16 +0400)
committerIlya Dryomov <idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:20 +0000 (21:03 +0400)
We want "cbc(aes)" algorithm, so select CRYPTO_CBC too, not just
CRYPTO_AES.  Otherwise on !CRYPTO_CBC kernels we fail rbd map/mount
with

    libceph: error -2 building auth method x request

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
net/ceph/Kconfig

index e50cc69ae8ca22c2bfde6ce3718d21c954290f0e..f8cceb99e732726cabd7678d30ca8236fbe5a2eb 100644 (file)
@@ -3,6 +3,7 @@ config CEPH_LIB
        depends on INET
        select LIBCRC32C
        select CRYPTO_AES
+       select CRYPTO_CBC
        select CRYPTO
        select KEYS
        default n