]> git.baikalelectronics.ru Git - kernel.git/commit
KEYS: Fix public_key asymmetric key subtype name
authorDavid Howells <dhowells@redhat.com>
Tue, 2 Sep 2014 12:52:10 +0000 (13:52 +0100)
committerJames Morris <james.l.morris@oracle.com>
Wed, 3 Sep 2014 00:27:28 +0000 (10:27 +1000)
commit6929dbd6b67df8bf9a00fa306bcadb387917aa74
treea70cb4313b97312923bab99c1799446a79551de4
parentf5f5ee586b5d3c5f1b71adf39bed995bf3b2f7ad
KEYS: Fix public_key asymmetric key subtype name

The length of the name of an asymmetric key subtype must be stored in struct
asymmetric_key_subtype::name_len so that it can be matched by a search for
"<subkey_name>:<partial_fingerprint>".  Fix the public_key subtype to have
name_len set.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
crypto/asymmetric_keys/public_key.c