diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-12-30 02:40:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-12-30 02:40:26 +0000 |
commit | 4e1209ebf8603d7f51a37d1645dfc0c09bac8686 (patch) | |
tree | e4487e9a433aba1030433f98b95e46588bf22a9f /crypto/asn1/asn_pack.c | |
parent | 78d3b819f04fcefa67294a840ea7fbf167418109 (diff) |
ASN1_ITEM versions of ASN1_d2i_{fp, bio} and replacement of
most of the old wrappers. A few of the old versions remain
because they are non standard and the corresponding ASN1
code has not been reimplemented yet.
Diffstat (limited to 'crypto/asn1/asn_pack.c')
-rw-r--r-- | crypto/asn1/asn_pack.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asn1/asn_pack.c b/crypto/asn1/asn_pack.c index 0b9ed691a9..e62eed2afa 100644 --- a/crypto/asn1/asn_pack.c +++ b/crypto/asn1/asn_pack.c @@ -60,6 +60,8 @@ #include "cryptlib.h" #include <openssl/asn1.h> +#ifndef NO_ASN1_OLD + /* ASN1 packing and unpacking functions */ /* Turn an ASN1 encoded SEQUENCE OF into a STACK of structures */ @@ -143,6 +145,8 @@ ASN1_STRING *ASN1_pack_string(void *obj, int (*i2d)(), ASN1_STRING **oct) return octmp; } +#endif + /* ASN1_ITEM versions of the above */ ASN1_STRING *ASN1_pack_item(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) |