diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-12-12 12:19:52 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-12-20 14:27:12 +0100 |
commit | 5208cc83423dde06924121a85368c721a27ca555 (patch) | |
tree | febbe0ce8683938eeebd0321bc5476ea987c0a3d /include/crypto | |
parent | tpm_ibmvtpm: properly handle interrupted packet receptions (diff) | |
download | linux-5208cc83423dde06924121a85368c721a27ca555.tar.xz linux-5208cc83423dde06924121a85368c721a27ca555.zip |
keys, trusted: fix: *do not* allow duplicate key options
The trusted keys option parsing allows specifying the same option
multiple times. The last option value specified is used.
This is problematic because:
* No gain.
* This makes complicated to specify options that are dependent on other
options.
This patch changes the behavior in a way that option can be specified
only once.
Reported-by: James Morris James Morris <jmorris@namei.org>
Reviewed-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions