Commit 8b43aebd authored by Philipp Reisner's avatar Philipp Reisner Committed by Jens Axboe

drbd: Following the hmac change to SHASH (see linux commit 8bd1209c)

Signed-off-by: default avatarPhilipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: default avatarLars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 573412b2
...@@ -1271,8 +1271,7 @@ static int drbd_nl_net_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp, ...@@ -1271,8 +1271,7 @@ static int drbd_nl_net_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp,
goto fail; goto fail;
} }
if (crypto_tfm_alg_type(crypto_hash_tfm(tfm)) if (crypto_tfm_alg_type(crypto_hash_tfm(tfm)) != CRYPTO_ALG_TYPE_SHASH) {
!= CRYPTO_ALG_TYPE_HASH) {
retcode = ERR_AUTH_ALG_ND; retcode = ERR_AUTH_ALG_ND;
goto fail; goto fail;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment