These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / security / integrity / evm / evm_crypto.c
index 159ef3e..461f8d8 100644 (file)
@@ -247,7 +247,7 @@ int evm_init_key(void)
                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;