summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-05-20 12:10:28 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-05-20 12:10:28 +0000
commitaa9c7e4b8c5964167facac64218c1a9a6215e808 (patch)
tree345726b0cc9017bf9752c33b1539e5edc49cbec5 /crypto/asn1
parent6be69a168f0d09b827d8b228df6a45820f623a8f (diff)
Oops... PEM_write_bio_ASN1_stream() shouldn't be in 0.9.8 CMS backport.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/asn1.h5
-rw-r--r--crypto/asn1/asn_mime.c13
2 files changed, 0 insertions, 18 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index d4e12a5409..424cd348bb 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -1086,11 +1086,6 @@ int int_smime_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
const ASN1_ITEM *it);
ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
-int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
- const char *hdr,
- const ASN1_ITEM *it);
-
-
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
* made after this point may be overwritten when the script is next run.
diff --git a/crypto/asn1/asn_mime.c b/crypto/asn1/asn_mime.c
index 41ef513c03..fe7c4ec7ab 100644
--- a/crypto/asn1/asn_mime.c
+++ b/crypto/asn1/asn_mime.c
@@ -130,19 +130,6 @@ static int B64_write_ASN1(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
return r;
}
-/* Streaming ASN1 PEM write */
-
-int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
- const char *hdr,
- const ASN1_ITEM *it)
- {
- int r;
- BIO_printf(out, "-----BEGIN %s-----\n", hdr);
- r = B64_write_ASN1(out, val, in, flags, it);
- BIO_printf(out, "-----END %s-----\n", hdr);
- return r;
- }
-
static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it)
{
BIO *b64;