From 858857157290dd35145b14044ae96be9cd8eb0df Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 28 Dec 2015 00:04:33 +0000 Subject: Rename DECLARE*STACK_OF to DEFINE*STACK_OF Applications wishing to include their own stacks now just need to include DEFINE_STACK_OF(foo) in a header file. Reviewed-by: Richard Levitte --- crypto/asn1/ameth_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/asn1/ameth_lib.c') diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index cca4a79141..1febfe91ba 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -92,7 +92,7 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { }; typedef int sk_cmp_fn_type(const char *const *a, const char *const *b); -DECLARE_CONST_STACK_OF(EVP_PKEY_ASN1_METHOD) +DEFINE_CONST_STACK_OF(EVP_PKEY_ASN1_METHOD) static STACK_OF(EVP_PKEY_ASN1_METHOD) *app_methods = NULL; #ifdef TEST -- cgit v1.2.3