summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_akey.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-07-27 02:22:42 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-07-27 02:22:42 +0000
commit1241126adf6c451d6a7115ffdc68fa64c4d55593 (patch)
tree07dde53487b16f716a07f12342af4f386e75be8a /crypto/x509v3/v3_akey.c
parent19da1300536be2ffddd5edef039e34b09a0c8440 (diff)
More linker bloat reorganisation:
Split private key PEM and normal PEM handling. Private key handling needs to link in stuff like PKCS#8. Relocate the ASN1 *_dup() functions, to the relevant ASN1 modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously these were all in crypto/x509/x_all.c along with every ASN1 BIO/fp function which linked in *every* ASN1 function if a single dup was used. Move the authority key id ASN1 structure to a separate file. This is used in the X509 routines and its previous location linked in all the v3 extension code. Also move ASN1_tag2bit to avoid linking in a_bytes.c which is now largely obsolete. So far under Linux stripped binary with single PEM_read_X509 is now 238K compared to 380K before these changes.
Diffstat (limited to 'crypto/x509v3/v3_akey.c')
-rw-r--r--crypto/x509v3/v3_akey.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/x509v3/v3_akey.c b/crypto/x509v3/v3_akey.c
index 8ec41ab9d6..97e686f97a 100644
--- a/crypto/x509v3/v3_akey.c
+++ b/crypto/x509v3/v3_akey.c
@@ -78,14 +78,6 @@ NID_authority_key_identifier, X509V3_EXT_MULTILINE, ASN1_ITEM_ref(AUTHORITY_KEYI
NULL
};
-ASN1_SEQUENCE(AUTHORITY_KEYID) = {
- ASN1_IMP_OPT(AUTHORITY_KEYID, keyid, ASN1_OCTET_STRING, 0),
- ASN1_IMP_SEQUENCE_OF_OPT(AUTHORITY_KEYID, issuer, GENERAL_NAME, 1),
- ASN1_IMP_OPT(AUTHORITY_KEYID, serial, ASN1_INTEGER, 2)
-} ASN1_SEQUENCE_END(AUTHORITY_KEYID)
-
-IMPLEMENT_ASN1_FUNCTIONS(AUTHORITY_KEYID)
-
static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
AUTHORITY_KEYID *akeyid, STACK_OF(CONF_VALUE) *extlist)
{