diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2005-09-01 15:59:16 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2005-09-01 15:59:16 +0200 |
commit | 1ef7acfe92cabe4312d3a7db33df91d04880aa39 (patch) | |
tree | e204a945f35e45b01f960822b06fc7c9b9747914 /crypto/asn1/asn1t.h | |
parent | Integrated support for PVK files. (diff) | |
download | openssl-1ef7acfe92cabe4312d3a7db33df91d04880aa39.tar.xz openssl-1ef7acfe92cabe4312d3a7db33df91d04880aa39.zip |
Initial support for ASN1 print code.
WARNING WARNING WARNING, experimental code, handle with care, use at
your own risk, may contain nuts.
Diffstat (limited to 'crypto/asn1/asn1t.h')
-rw-r--r-- | crypto/asn1/asn1t.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/asn1/asn1t.h b/crypto/asn1/asn1t.h index cc0cd1c842..9f5d60947e 100644 --- a/crypto/asn1/asn1t.h +++ b/crypto/asn1/asn1t.h @@ -644,6 +644,10 @@ typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); +typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval, + int indent, const char *fname, + const ASN1_PCTX *pctx); + typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it); @@ -661,6 +665,7 @@ typedef struct ASN1_EXTERN_FUNCS_st { ASN1_ex_free_func *asn1_ex_clear; ASN1_ex_d2i *asn1_ex_d2i; ASN1_ex_i2d *asn1_ex_i2d; + ASN1_ex_print_func *asn1_ex_print; } ASN1_EXTERN_FUNCS; typedef struct ASN1_PRIMITIVE_FUNCS_st { |