From b5f07d6a66df963e45a5f7fe23329009b12bdf87 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 12 Mar 2015 14:12:17 +0000 Subject: Remove obsolete declarations. Remove DECLARE_ASN1_SET_OF and DECLARE_PKCS12_STACK_OF these haven't been used internally in OpenSSL for some time. Reviewed-by: Rich Salz --- crypto/x509/x509.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crypto/x509') diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 9835be5e6c..afc16a3187 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -130,8 +130,6 @@ struct X509_algor_st { ASN1_TYPE *parameter; } /* X509_ALGOR */ ; -DECLARE_ASN1_SET_OF(X509_ALGOR) - typedef STACK_OF(X509_ALGOR) X509_ALGORS; typedef struct X509_val_st { @@ -158,7 +156,6 @@ typedef struct X509_name_entry_st { } X509_NAME_ENTRY; DECLARE_STACK_OF(X509_NAME_ENTRY) -DECLARE_ASN1_SET_OF(X509_NAME_ENTRY) /* we always keep X509_NAMEs in 2 forms. */ struct X509_name_st { @@ -183,7 +180,6 @@ typedef struct X509_extension_st { typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS; DECLARE_STACK_OF(X509_EXTENSION) -DECLARE_ASN1_SET_OF(X509_EXTENSION) /* a sequence of these are used */ typedef struct x509_attributes_st { @@ -202,7 +198,6 @@ typedef struct x509_attributes_st { } X509_ATTRIBUTE; DECLARE_STACK_OF(X509_ATTRIBUTE) -DECLARE_ASN1_SET_OF(X509_ATTRIBUTE) typedef struct X509_req_info_st { ASN1_ENCODING enc; @@ -276,7 +271,6 @@ struct x509_st { } /* X509 */ ; DECLARE_STACK_OF(X509) -DECLARE_ASN1_SET_OF(X509) /* This is used for a table of trust checking functions */ @@ -408,7 +402,6 @@ struct x509_revoked_st { }; DECLARE_STACK_OF(X509_REVOKED) -DECLARE_ASN1_SET_OF(X509_REVOKED) typedef struct X509_crl_info_st { ASN1_INTEGER *version; @@ -444,7 +437,6 @@ struct X509_crl_st { } /* X509_CRL */ ; DECLARE_STACK_OF(X509_CRL) -DECLARE_ASN1_SET_OF(X509_CRL) typedef struct private_key_st { int version; -- cgit v1.2.3