diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-10-06 12:10:35 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-10-06 12:10:35 +0000 |
commit | 12dadc555fc90a89b71948105fd1d62868c86ad1 (patch) | |
tree | b90797096a61adc55de798a15ad07418ae3bd6d3 /crypto | |
parent | b75b2225e5228ba4b6161f362f258fcf1c3e0702 (diff) |
Oops, remove old comment out debugging printf...
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asn1/tasn_enc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/asn1/tasn_enc.c b/crypto/asn1/tasn_enc.c index c604699e2f..5ce38e1920 100644 --- a/crypto/asn1/tasn_enc.c +++ b/crypto/asn1/tasn_enc.c @@ -185,9 +185,6 @@ int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, return i; case ASN1_ITYPE_NDEF_SEQUENCE: -#if 0 -fprintf(stderr, "NDEF sequence from %s flags %d\n", it->sname, aclass & ASN1_TFLG_NDEF); -#endif /* Use indefinite length constructed if requested */ if (aclass & ASN1_TFLG_NDEF) ndef = 2; /* fall through */ @@ -244,6 +241,11 @@ fprintf(stderr, "NDEF sequence from %s flags %d\n", it->sname, aclass & ASN1_TFL return 0; } +int ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) + { + return asn1_template_ex_i2d(pval, out, tt, -1, 0); + } + static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) { int i, ret, flags, ttag, tclass, ndef; |