diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2009-12-06 23:50:24 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-12-09 15:11:03 +0100 |
commit | 8b43aebdaa4fa3348dafd6f2f5f526bd3e8b84ac (patch) | |
tree | c1a9660b9dde40b29ca3ad21b268b0a20ea75f08 /drivers/block | |
parent | 573412b29586e58477adb70e022193a337763319 (diff) | |
download | op-kernel-dev-8b43aebdaa4fa3348dafd6f2f5f526bd3e8b84ac.zip op-kernel-dev-8b43aebdaa4fa3348dafd6f2f5f526bd3e8b84ac.tar.gz |
drbd: Following the hmac change to SHASH (see linux commit 8bd1209cfff)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_nl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index 436a090..4e0726a 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c @@ -1271,8 +1271,7 @@ static int drbd_nl_net_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, goto fail; } - if (crypto_tfm_alg_type(crypto_hash_tfm(tfm)) - != CRYPTO_ALG_TYPE_HASH) { + if (crypto_tfm_alg_type(crypto_hash_tfm(tfm)) != CRYPTO_ALG_TYPE_SHASH) { retcode = ERR_AUTH_ALG_ND; goto fail; } |