summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/verify_pefile.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-03-03 21:49:27 +0000
committerDavid Howells <dhowells@redhat.com>2016-03-03 21:49:27 +0000
commit4a2d8af1595431c19603007981706b0a7a2ef959 (patch)
tree6a97c25bbfd7ed92e9fd68ebb251893ea27d88e5 /crypto/asymmetric_keys/verify_pefile.h
parent39bd347df2c2ba187f9654e49d69afeb8aaa3b3c (diff)
downloadlinux-crypto-4a2d8af1595431c19603007981706b0a7a2ef959.tar.gz
linux-crypto-4a2d8af1595431c19603007981706b0a7a2ef959.zip
X.509: Make algo identifiers text instead of enum
Make the identifier public key and digest algorithm fields text instead of enum. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys/verify_pefile.h')
-rw-r--r--crypto/asymmetric_keys/verify_pefile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/verify_pefile.h b/crypto/asymmetric_keys/verify_pefile.h
index 55d5f7eb..a133eb81 100644
--- a/crypto/asymmetric_keys/verify_pefile.h
+++ b/crypto/asymmetric_keys/verify_pefile.h
@@ -28,7 +28,7 @@ struct pefile_context {
/* PKCS#7 MS Individual Code Signing content */
const void *digest; /* Digest */
unsigned digest_len; /* Digest length */
- enum hash_algo digest_algo; /* Digest algorithm */
+ const char *digest_algo; /* Digest algorithm */
};
#define kenter(FMT, ...) \