summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-07-31 12:43:23 +0200
committerDavid Howells <dhowells@redhat.com>2015-08-12 18:01:01 +0200
commitf29299b4801076e14bb149cb2fc44bd8dc2f51cc (patch)
tree71600ee9bf603a66b47f4a1b6cb2e31bb022a4cb
parentPKCS#7: Improve and export the X.509 ASN.1 time object decoder (diff)
downloadlinux-f29299b4801076e14bb149cb2fc44bd8dc2f51cc.tar.xz
linux-f29299b4801076e14bb149cb2fc44bd8dc2f51cc.zip
KEYS: Add a name for PKEY_ID_PKCS7
Add a name for PKEY_ID_PKCS7 into the pkey_id_type_name array. Signed-off-by: David Howells <dhowells@redhat.com>
-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 2f6e4fb1a1ea..81efccbe22d5 100644
--- a/crypto/asymmetric_keys/public_key.c
+++ b/crypto/asymmetric_keys/public_key.c
@@ -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);