Fix macro.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 31 Mar 2008 18:14:10 +0000 (18:14 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 31 Mar 2008 18:14:10 +0000 (18:14 +0000)
crypto/asn1/asn1.h

index 8185e1dbb57c14997f0c4f8d0f6ccf17dba747b4..6d7df9d394cb1ad9d71009d551bb4c62b678efca 100644 (file)
@@ -323,8 +323,8 @@ typedef struct ASN1_VALUE_st ASN1_VALUE;
        int i2d_##name##_NDEF(name *a, unsigned char **out);
 
 #define DECLARE_ASN1_FUNCTIONS_const(name) \
-       name *name##_new(void); \
-       void name##_free(name *a); \
+       DECLARE_ASN1_ALLOC_FUNCTIONS(name) \
+       DECLATE_ASN1_ENCODE_FUNCTIONS_const(name)
 
 #define DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, name) \
        type *name##_new(void); \