diff options
Diffstat (limited to 'crypto/asymmetric_keys/x509_public_key.c')
-rw-r--r-- | crypto/asymmetric_keys/x509_public_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/x509_public_key.c b/crypto/asymmetric_keys/x509_public_key.c index 6ef54495be87..a6c42031628e 100644 --- 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) | |||
35 | 35 | ||
36 | if (strncmp(str, "id:", 3) == 0) { | 36 | if (strncmp(str, "id:", 3) == 0) { |
37 | struct asymmetric_key_id *p; | 37 | struct asymmetric_key_id *p; |
38 | p = asymmetric_key_hex_to_key_id(str); | 38 | p = asymmetric_key_hex_to_key_id(str + 3); |
39 | if (p == ERR_PTR(-EINVAL)) | 39 | if (p == ERR_PTR(-EINVAL)) |
40 | pr_err("Unparsable hex string in ca_keys\n"); | 40 | pr_err("Unparsable hex string in ca_keys\n"); |
41 | else if (!IS_ERR(p)) | 41 | else if (!IS_ERR(p)) |