KEYS: Add a name for PKEY_ID_PKCS7
authorDavid Howells <dhowells@redhat.com>
Fri, 31 Jul 2015 10:43:23 +0000 (11:43 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 12 Aug 2015 16:01:01 +0000 (17:01 +0100)
Add a name for PKEY_ID_PKCS7 into the pkey_id_type_name array.

Signed-off-by: David Howells <dhowells@redhat.com>
crypto/asymmetric_keys/public_key.c

index 2f6e4fb1a1ea14c4a1bcba18618b0bdaf6e1cd9c..81efccbe22d5b21d3e31e44f504fc23cefd32d76 100644 (file)
@@ -39,6 +39,7 @@ EXPORT_SYMBOL_GPL(pkey_algo);
 const char *const pkey_id_type_name[PKEY_ID_TYPE__LAST] = {
        [PKEY_ID_PGP]           = "PGP",
        [PKEY_ID_X509]          = "X509",
+       [PKEY_ID_PKCS7]         = "PKCS#7",
 };
 EXPORT_SYMBOL_GPL(pkey_id_type_name);