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

Commit b64cc5fb authored by Mimi Zohar's avatar Mimi Zohar Committed by David Howells
Browse files

KEYS: revert encrypted key change



Commit fc7c70e0 "KEYS: struct key_preparsed_payload should have two
payload pointers" erroneously modified encrypted-keys.  This patch
reverts the change to that file.

Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent f6fd5c84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -811,7 +811,7 @@ static int encrypted_instantiate(struct key *key,
		goto out;
	}

	prep->payload[0] = epayload;
	rcu_assign_keypointer(key, epayload);
out:
	kfree(datablob);
	return ret;