summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/public_key.c
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2014-11-19 21:32:12 +1100
committerJames Morris <james.l.morris@oracle.com>2014-11-19 21:32:12 +1100
commitbbd9976dcd5d35e4314b9c147047b341eb7cc236 (patch)
tree0e60a217b70cdfd62d7b8c1d9935a80223f80dec /crypto/asymmetric_keys/public_key.c
parent6dde07d9334a97ed066bd8f4f7748cbd5f4b8231 (diff)
parentb9e89cef449430b7dcdc79fccb245fed20d2692d (diff)
downloadlinux-crypto-bbd9976dcd5d35e4314b9c147047b341eb7cc236.tar.gz
linux-crypto-bbd9976dcd5d35e4314b9c147047b341eb7cc236.zip
Merge commit 'v3.17' into next
Diffstat (limited to 'crypto/asymmetric_keys/public_key.c')
-rw-r--r--crypto/asymmetric_keys/public_key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/public_key.c b/crypto/asymmetric_keys/public_key.c
index 97eb0019..2f6e4fb1 100644
--- a/crypto/asymmetric_keys/public_key.c
+++ b/crypto/asymmetric_keys/public_key.c
@@ -121,6 +121,7 @@ static int public_key_verify_signature_2(const struct key *key,
struct asymmetric_key_subtype public_key_subtype = {
.owner = THIS_MODULE,
.name = "public_key",
+ .name_len = sizeof("public_key") - 1,
.describe = public_key_describe,
.destroy = public_key_destroy,
.verify_signature = public_key_verify_signature_2,