Revert "KEYS: encrypted: Add check for strsep"
This reverts commit b4af096b5d
.
New encrypted keys are created either from kernel-generated random
numbers or user-provided decrypted data. Revert the change requiring
user-provided decrypted data.
Reported-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
parent
6613476e22
commit
1ed4b56310
@ -237,10 +237,6 @@ static int datablob_parse(char *datablob, const char **format,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
*decrypted_data = strsep(&datablob, " \t");
|
*decrypted_data = strsep(&datablob, " \t");
|
||||||
if (!*decrypted_data) {
|
|
||||||
pr_info("encrypted_key: decrypted_data is missing\n");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
case Opt_load:
|
case Opt_load:
|
||||||
|
Loading…
Reference in New Issue
Block a user