summaryrefslogtreecommitdiff
path: root/crypto/asn1/asn1t.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-03-20 17:58:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2003-03-20 17:58:33 +0000
commitea3675b5b60789f87a998bad8aab0ca53b3af4ed (patch)
treee1adc7663800410999ed7cd0f16a6cf253e85ab1 /crypto/asn1/asn1t.h
parentc554155b58f5c0dda132048bb0a68a2d1a463d98 (diff)
downloadopenssl-new-ea3675b5b60789f87a998bad8aab0ca53b3af4ed.tar.gz
New ASN1 macros to just implement and declare the new and free functions
and changes to mkdef.pl so it recognises them. Use these in policyMappings extension.
Diffstat (limited to 'crypto/asn1/asn1t.h')
-rw-r--r--crypto/asn1/asn1t.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/asn1/asn1t.h b/crypto/asn1/asn1t.h
index 479225bea0..c1a4bea8f1 100644
--- a/crypto/asn1/asn1t.h
+++ b/crypto/asn1/asn1t.h
@@ -775,6 +775,9 @@ typedef struct ASN1_AUX_st {
#define IMPLEMENT_ASN1_FUNCTIONS_ENCODE_name(stname, itname) \
IMPLEMENT_ASN1_FUNCTIONS_ENCODE_fname(stname, itname, itname)
+#define IMPLEMENT_ASN1_ALLOC_FUNCTIONS(stname) \
+ IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, stname, stname)
+
#define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname) \
stname *fname##_new(void) \
{ \