projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu...
[cascardo/linux.git]
/
security
/
integrity
/
evm
/
evm_crypto.c
diff --git
a/security/integrity/evm/evm_crypto.c
b/security/integrity/evm/evm_crypto.c
index
159ef3e
..
461f8d8
100644
(file)
--- a/
security/integrity/evm/evm_crypto.c
+++ b/
security/integrity/evm/evm_crypto.c
@@
-247,7
+247,7
@@
int evm_init_key(void)
return -ENOENT;
down_read(&evm_key->sem);
return -ENOENT;
down_read(&evm_key->sem);
- ekp = evm_key->payload.data;
+ ekp = evm_key->payload.data
[0]
;
if (ekp->decrypted_datalen > MAX_KEY_SIZE) {
rc = -EINVAL;
goto out;
if (ekp->decrypted_datalen > MAX_KEY_SIZE) {
rc = -EINVAL;
goto out;