diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-09-01 20:42:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-09-01 20:42:52 +0000 |
commit | 244847591f359be542d8d0fe995c349103cc7ac6 (patch) | |
tree | 778399f2bfa4ab8e206ae7c6085976a2bf0d40e1 /crypto/asn1/tasn_fre.c | |
parent | 5abe32d8611b26630305731f7dd4ea564264719e (diff) | |
download | openssl-244847591f359be542d8d0fe995c349103cc7ac6.tar.gz |
Extend callback function to support print customization.
Diffstat (limited to 'crypto/asn1/tasn_fre.c')
-rw-r--r-- | crypto/asn1/tasn_fre.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/asn1/tasn_fre.c b/crypto/asn1/tasn_fre.c index b68b66a23b..81b6ac898a 100644 --- a/crypto/asn1/tasn_fre.c +++ b/crypto/asn1/tasn_fre.c @@ -110,13 +110,13 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c case ASN1_ITYPE_CHOICE: if (asn1_cb) { - i = asn1_cb(ASN1_OP_FREE_PRE, pval, it); + i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); if (i == 2) return; } i = asn1_get_choice_selector(pval, it); if (asn1_cb) - asn1_cb(ASN1_OP_FREE_PRE, pval, it); + asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); if ((i >= 0) && (i < it->tcount)) { ASN1_VALUE **pchval; @@ -125,7 +125,7 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c ASN1_template_free(pchval, tt); } if (asn1_cb) - asn1_cb(ASN1_OP_FREE_POST, pval, it); + asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); if (!combine) { OPENSSL_free(*pval); @@ -151,7 +151,7 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c return; if (asn1_cb) { - i = asn1_cb(ASN1_OP_FREE_PRE, pval, it); + i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); if (i == 2) return; } @@ -172,7 +172,7 @@ static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int c ASN1_template_free(pseqval, seqtt); } if (asn1_cb) - asn1_cb(ASN1_OP_FREE_POST, pval, it); + asn1_cb(ASN1_OP_FREE_POST, pval, it, NULL); if (!combine) { OPENSSL_free(*pval); |