提交 7804fe9e 编写于 作者: E Eric Biggers 提交者: Jarkko Sakkinen

KEYS: x509: remove unused fields

Remove unused fields from struct x509_parse_context.
Acked-by: NJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: NEric Biggers <ebiggers@google.com>
Reviewed-by: NJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: NJarkko Sakkinen <jarkko@kernel.org>
上级 8f2a7b51
......@@ -19,7 +19,6 @@
struct x509_parse_context {
struct x509_certificate *cert; /* Certificate being constructed */
unsigned long data; /* Start of data */
const void *cert_start; /* Start of cert content */
const void *key; /* Key data */
size_t key_size; /* Size of key data */
const void *params; /* Key parameters */
......@@ -27,7 +26,6 @@ struct x509_parse_context {
enum OID key_algo; /* Algorithm used by the cert's key */
enum OID last_oid; /* Last OID encountered */
enum OID sig_algo; /* Algorithm used to sign the cert */
unsigned char nr_mpi; /* Number of MPIs stored */
u8 o_size; /* Size of organizationName (O) */
u8 cn_size; /* Size of commonName (CN) */
u8 email_size; /* Size of emailAddress */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册