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

Commit d2420324 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "md: Set tfm NULL if crypto mode is not available"

parents 5296f39d 58f94df2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1193,6 +1193,7 @@ static int req_crypt_ctr(struct dm_target *ti, unsigned int argc, char **argv)
		DMERR("%s ablkcipher tfm allocation failed : error\n",
					 __func__);
		err =  DM_REQ_CRYPT_ERROR;
		tfm = NULL;
		goto ctr_exit;
	}