diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-02-08 13:07:04 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-02-08 13:07:04 +0000 |
commit | 9e5df8e44849d0113e3b5530478dcaeac401fc64 (patch) | |
tree | c559bc0ab897ea6da3bd79fe4dc1ca8d2d9b4f3d /crypto/asn1/asn1t.h | |
parent | 96d13fe62b71dcb08b02ca3ce299b12630326cac (diff) |
Support custom primitive type printing routines and add one to LONG type.
Diffstat (limited to 'crypto/asn1/asn1t.h')
-rw-r--r-- | crypto/asn1/asn1t.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/asn1/asn1t.h b/crypto/asn1/asn1t.h index fc7ea0d1b2..fff8030f7d 100644 --- a/crypto/asn1/asn1t.h +++ b/crypto/asn1/asn1t.h @@ -654,6 +654,7 @@ typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval, 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); +typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); typedef struct ASN1_COMPAT_FUNCS_st { ASN1_new_func *asn1_new; @@ -680,6 +681,7 @@ typedef struct ASN1_PRIMITIVE_FUNCS_st { ASN1_ex_free_func *prim_clear; ASN1_primitive_c2i *prim_c2i; ASN1_primitive_i2c *prim_i2c; + ASN1_primitive_print *prim_print; } ASN1_PRIMITIVE_FUNCS; /* This is the ASN1_AUX structure: it handles various |