From a1195a19f578ef026a17663ce8510f0bf7fd3766 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Wed, 2 Jun 1999 17:14:44 +0000 Subject: [PATCH] Move stack implementations to more natural places. --- crypto/asn1/p7_signd.c | 7 ------- crypto/asn1/p7_signi.c | 2 ++ crypto/asn1/x_algor.c | 2 ++ crypto/asn1/x_crl.c | 2 ++ 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/crypto/asn1/p7_signd.c b/crypto/asn1/p7_signd.c index 75ceb96462..74f0f522e1 100644 --- a/crypto/asn1/p7_signd.c +++ b/crypto/asn1/p7_signd.c @@ -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) diff --git a/crypto/asn1/p7_signi.c b/crypto/asn1/p7_signi.c index 0f863333a1..21132ef4dd 100644 --- a/crypto/asn1/p7_signi.c +++ b/crypto/asn1/p7_signi.c @@ -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) diff --git a/crypto/asn1/x_algor.c b/crypto/asn1/x_algor.c index fd6f3ee40d..8183b9f9e2 100644 --- a/crypto/asn1/x_algor.c +++ b/crypto/asn1/x_algor.c @@ -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) diff --git a/crypto/asn1/x_crl.c b/crypto/asn1/x_crl.c index 683e1eef18..cd46bbebc2 100644 --- a/crypto/asn1/x_crl.c +++ b/crypto/asn1/x_crl.c @@ -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) -- 2.25.1