Move stack implementations to more natural places.
authorBen Laurie <ben@openssl.org>
Wed, 2 Jun 1999 17:14:44 +0000 (17:14 +0000)
committerBen Laurie <ben@openssl.org>
Wed, 2 Jun 1999 17:14:44 +0000 (17:14 +0000)
crypto/asn1/p7_signd.c
crypto/asn1/p7_signi.c
crypto/asn1/x_algor.c
crypto/asn1/x_crl.c

index 75ceb96..74f0f52 100644 (file)
@@ -133,10 +133,3 @@ void PKCS7_SIGNED_free(PKCS7_SIGNED *a)
        sk_PKCS7_SIGNER_INFO_pop_free(a->signer_info,PKCS7_SIGNER_INFO_free);
        Free(a);
        }
-
-IMPLEMENT_STACK_OF(X509_ALGOR)
-IMPLEMENT_ASN1_SET_OF(X509_ALGOR)
-IMPLEMENT_STACK_OF(X509_CRL)
-IMPLEMENT_ASN1_SET_OF(X509_CRL)
-IMPLEMENT_STACK_OF(PKCS7_SIGNER_INFO)
-IMPLEMENT_ASN1_SET_OF(PKCS7_SIGNER_INFO)
index 0f86333..21132ef 100644 (file)
@@ -146,3 +146,5 @@ void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a)
        Free((char *)a);
        }
 
+IMPLEMENT_STACK_OF(PKCS7_SIGNER_INFO)
+IMPLEMENT_ASN1_SET_OF(PKCS7_SIGNER_INFO)
index fd6f3ee..8183b9f 100644 (file)
@@ -113,3 +113,5 @@ void X509_ALGOR_free(X509_ALGOR *a)
        Free((char *)a);
        }
 
+IMPLEMENT_STACK_OF(X509_ALGOR)
+IMPLEMENT_ASN1_SET_OF(X509_ALGOR)
index 683e1ee..cd46bbe 100644 (file)
@@ -346,3 +346,5 @@ static int X509_REVOKED_seq_cmp(X509_REVOKED **a, X509_REVOKED **b)
 
 IMPLEMENT_STACK_OF(X509_REVOKED)
 IMPLEMENT_ASN1_SET_OF(X509_REVOKED)
+IMPLEMENT_STACK_OF(X509_CRL)
+IMPLEMENT_ASN1_SET_OF(X509_CRL)