diff options
author | David Benjamin <davidben@chromium.org> | 2015-12-31 11:13:07 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2016-01-28 18:55:24 +0300 |
commit | 2cdf398773edb5e6fa6ccb4088553c245f048062 (patch) | |
tree | 4fa0c664a807948b70cf6df8c90edee29cb38aee /crypto/evp | |
parent | 415564fe2c1648c305c76154c5070ad3757a6d85 (diff) |
Remove pkey_base_id.
This is never accessed.
Change-Id: I4cade5e907ad4c03e9de7634b53ef965f7240087
Reviewed-on: https://boringssl-review.googlesource.com/6864
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/internal.h | 1 | ||||
-rw-r--r-- | crypto/evp/p_dsa_asn1.c | 1 | ||||
-rw-r--r-- | crypto/evp/p_ec_asn1.c | 1 | ||||
-rw-r--r-- | crypto/evp/p_rsa_asn1.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/crypto/evp/internal.h b/crypto/evp/internal.h index 3acc3614..67b2a659 100644 --- a/crypto/evp/internal.h +++ b/crypto/evp/internal.h @@ -86,7 +86,6 @@ typedef enum { struct evp_pkey_asn1_method_st { int pkey_id; - int pkey_base_id; unsigned long pkey_flags; const char *pem_str; diff --git a/crypto/evp/p_dsa_asn1.c b/crypto/evp/p_dsa_asn1.c index c92068f8..ea75e58c 100644 --- a/crypto/evp/p_dsa_asn1.c +++ b/crypto/evp/p_dsa_asn1.c @@ -551,7 +551,6 @@ err: const EVP_PKEY_ASN1_METHOD dsa_asn1_meth = { EVP_PKEY_DSA, - EVP_PKEY_DSA, 0, "DSA", diff --git a/crypto/evp/p_ec_asn1.c b/crypto/evp/p_ec_asn1.c index eeecc333..c88fb1ea 100644 --- a/crypto/evp/p_ec_asn1.c +++ b/crypto/evp/p_ec_asn1.c @@ -530,7 +530,6 @@ static int old_ec_priv_encode(const EVP_PKEY *pkey, uint8_t **pder) { const EVP_PKEY_ASN1_METHOD ec_asn1_meth = { EVP_PKEY_EC, - EVP_PKEY_EC, 0, "EC", diff --git a/crypto/evp/p_rsa_asn1.c b/crypto/evp/p_rsa_asn1.c index db38d5cf..8556b5ad 100644 --- a/crypto/evp/p_rsa_asn1.c +++ b/crypto/evp/p_rsa_asn1.c @@ -704,7 +704,6 @@ static evp_digest_sign_algorithm_result_t rsa_digest_sign_algorithm( const EVP_PKEY_ASN1_METHOD rsa_asn1_meth = { EVP_PKEY_RSA, - EVP_PKEY_RSA, ASN1_PKEY_SIGPARAM_NULL, "RSA", |