Oops... PEM_write_bio_ASN1_stream() shouldn't be in 0.9.8 CMS backport.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 20 May 2008 12:10:28 +0000 (12:10 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 20 May 2008 12:10:28 +0000 (12:10 +0000)
crypto/asn1/asn1.h
crypto/asn1/asn_mime.c

index d4e12a540949a4adf6c1c7f662aece337f64966d..424cd348bb5e1b394447b2a86e3d0f24e4e71680 100644 (file)
@@ -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.
index 41ef513c03bdfac8707859abb7bed4102fe72418..fe7c4ec7abe4952ee2c6c62b5f0128528decf0b3 100644 (file)
@@ -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;