aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/asn_mime.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-12-28 00:04:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2016-01-07 18:00:51 +0000
commit858857157290dd35145b14044ae96be9cd8eb0df (patch)
tree1f5775a622b6d68a9e930c4038b5366c26388484 /crypto/asn1/asn_mime.c
parentc5e0c5404708939a3bed317366367d9898960598 (diff)
downloadopenssl-858857157290dd35145b14044ae96be9cd8eb0df.zip
openssl-858857157290dd35145b14044ae96be9cd8eb0df.tar.gz
openssl-858857157290dd35145b14044ae96be9cd8eb0df.tar.bz2
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 <levitte@openssl.org>
Diffstat (limited to 'crypto/asn1/asn_mime.c')
-rw-r--r--crypto/asn1/asn_mime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/asn_mime.c b/crypto/asn1/asn_mime.c
index ed9d8d6..f138db9 100644
--- a/crypto/asn1/asn_mime.c
+++ b/crypto/asn1/asn_mime.c
@@ -78,7 +78,7 @@ typedef struct {
char *param_value; /* Param value e.g. "sha1" */
} MIME_PARAM;
-DECLARE_STACK_OF(MIME_PARAM)
+DEFINE_STACK_OF(MIME_PARAM)
typedef struct {
char *name; /* Name of line e.g. "content-type" */
@@ -86,7 +86,7 @@ typedef struct {
STACK_OF(MIME_PARAM) *params; /* Zero or more parameters */
} MIME_HEADER;
-DECLARE_STACK_OF(MIME_HEADER)
+DEFINE_STACK_OF(MIME_HEADER)
static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
const ASN1_ITEM *it);