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 8185e1d..6d7df9d 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); \