projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arc-3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[firefly-linux-kernel-4.4.55.git]
/
crypto
/
asymmetric_keys
/
x509_public_key.c
diff --git
a/crypto/asymmetric_keys/x509_public_key.c
b/crypto/asymmetric_keys/x509_public_key.c
index 6ef54495be873e2c3603fe2ef7ff9399f4845728..a6c42031628e94172a112700f6cdb5cd01da9789 100644
(file)
--- a/
crypto/asymmetric_keys/x509_public_key.c
+++ b/
crypto/asymmetric_keys/x509_public_key.c
@@
-35,7
+35,7
@@
static int __init ca_keys_setup(char *str)
if (strncmp(str, "id:", 3) == 0) {
struct asymmetric_key_id *p;
- p = asymmetric_key_hex_to_key_id(str);
+ p = asymmetric_key_hex_to_key_id(str
+ 3
);
if (p == ERR_PTR(-EINVAL))
pr_err("Unparsable hex string in ca_keys\n");
else if (!IS_ERR(p))