New function ASN1_STRING_copy() to copy to an already
[openssl.git] / crypto / asn1 / asn1t.h
index e0b903352125cb8ced8956997dacdb92cc7d2303..16a1db24aa9f2090a5c733430445b6e6b4631853 100644 (file)
@@ -99,7 +99,7 @@ extern "C" {
 #define ASN1_ITEM_start(itname) \
        const ASN1_ITEM * itname##_it(void) \
        { \
-               static const ASN1_ITEM local_it = { \
+               static const ASN1_ITEM local_it = { 
 
 #define ASN1_ITEM_end(itname) \
                }; \
@@ -711,7 +711,7 @@ typedef struct ASN1_AUX_st {
 typedef struct ASN1_PRINT_ARG_st {
        BIO *out;
        int indent;
-       ASN1_PCTX *pctx;
+       const ASN1_PCTX *pctx;
 } ASN1_PRINT_ARG;
 
 /* Flags in ASN1_AUX */
@@ -846,7 +846,7 @@ typedef struct ASN1_PRINT_ARG_st {
        IMPLEMENT_ASN1_PRINT_FUNCTION_fname(stname, stname, stname)
 
 #define IMPLEMENT_ASN1_PRINT_FUNCTION_fname(stname, itname, fname) \
-       int fname##_print(BIO *out, stname *x, int indent, \
+       int fname##_print_ctx(BIO *out, stname *x, int indent, \
                                                const ASN1_PCTX *pctx) \
        { \
                return ASN1_item_print(out, (ASN1_VALUE *)x, indent, \