diff options
author | David Howells <dhowells@redhat.com> | 2016-03-03 22:49:27 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-03-03 22:49:27 +0100 |
commit | 4e8ae72a75aae285ec5b93518b9680da198afd0d (patch) | |
tree | f15537d13bcec9140d092fb950d4c04d3f347c2e /crypto/asymmetric_keys/verify_pefile.h | |
parent | akcipher: Move the RSA DER encoding check to the crypto layer (diff) | |
download | linux-4e8ae72a75aae285ec5b93518b9680da198afd0d.tar.xz linux-4e8ae72a75aae285ec5b93518b9680da198afd0d.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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asymmetric_keys/verify_pefile.h b/crypto/asymmetric_keys/verify_pefile.h index 55d5f7ebc45a..a133eb81a492 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, ...) \ |