From: Dr. Stephen Henson Date: Tue, 20 May 2008 12:10:28 +0000 (+0000) Subject: Oops... PEM_write_bio_ASN1_stream() shouldn't be in 0.9.8 CMS backport. X-Git-Tag: OpenSSL_0_9_8h~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aa9c7e4b8c5964167facac64218c1a9a6215e808;p=oweals%2Fopenssl.git Oops... PEM_write_bio_ASN1_stream() shouldn't be in 0.9.8 CMS backport. --- 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;