diff options
Diffstat (limited to 'kernel/security/integrity/digsig.c')
-rw-r--r-- | kernel/security/integrity/digsig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/security/integrity/digsig.c b/kernel/security/integrity/digsig.c index 5e3bd72b2..5be9ffbe9 100644 --- a/kernel/security/integrity/digsig.c +++ b/kernel/security/integrity/digsig.c @@ -85,7 +85,7 @@ int __init integrity_init_keyring(const unsigned int id) return err; } -int __init integrity_load_x509(const unsigned int id, char *path) +int __init integrity_load_x509(const unsigned int id, const char *path) { key_ref_t key; char *data; @@ -105,7 +105,7 @@ int __init integrity_load_x509(const unsigned int id, char *path) rc, ((KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW | KEY_USR_READ), - KEY_ALLOC_NOT_IN_QUOTA | KEY_ALLOC_TRUSTED); + KEY_ALLOC_NOT_IN_QUOTA); if (IS_ERR(key)) { rc = PTR_ERR(key); pr_err("Problem loading X.509 certificate (%d): %s\n", |