Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef57f9e6 authored by Philipp Reisner's avatar Philipp Reisner Committed by Jens Axboe
Browse files

drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set

parent a3f8f7dc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4660,8 +4660,8 @@ static int drbd_do_features(struct drbd_tconn *tconn)
#if !defined(CONFIG_CRYPTO_HMAC) && !defined(CONFIG_CRYPTO_HMAC_MODULE)
static int drbd_do_auth(struct drbd_tconn *tconn)
{
	dev_err(DEV, "This kernel was build without CONFIG_CRYPTO_HMAC.\n");
	dev_err(DEV, "You need to disable 'cram-hmac-alg' in drbd.conf.\n");
	conn_err(tconn, "This kernel was build without CONFIG_CRYPTO_HMAC.\n");
	conn_err(tconn, "You need to disable 'cram-hmac-alg' in drbd.conf.\n");
	return -1;
}
#else