mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 04:04:06 +00:00
Revert "KEYS: encrypted: Add check for strsep"
commit 1ed4b563100230ea68821a2b25a3d9f25388a3e6 upstream. This reverts commit b4af096b5df5dd131ab796c79cedc7069d8f4882. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
93d357caf7
commit
6cb583c4e1
1 changed files with 0 additions and 4 deletions
|
@ -237,10 +237,6 @@ static int datablob_parse(char *datablob, const char **format,
|
|||
break;
|
||||
}
|
||||
*decrypted_data = strsep(&datablob, " \t");
|
||||
if (!*decrypted_data) {
|
||||
pr_info("encrypted_key: decrypted_data is missing\n");
|
||||
break;
|
||||
}
|
||||
ret = 0;
|
||||
break;
|
||||
case Opt_load:
|
||||
|
|
Loading…
Add table
Reference in a new issue