diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-03-18 14:45:43 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-03-18 14:45:43 +0100 |
commit | e4f0e40eac4ee00d8447741c76c9862a36b0e734 (patch) | |
tree | a4f0e588c3177e3ce7e3eb420867c5deeb47cd60 /crypto/cms/cms_io.c | |
parent | More support for KEK RecipientInfo. (diff) | |
download | openssl-e4f0e40eac4ee00d8447741c76c9862a36b0e734.tar.xz openssl-e4f0e40eac4ee00d8447741c76c9862a36b0e734.zip |
Various tidies/fixes:
Make streaming support in cms cleaner.
Note errors in various S/MIME functions if CMS_final() fails.
Add streaming support for enveloped data.
Diffstat (limited to 'crypto/cms/cms_io.c')
-rw-r--r-- | crypto/cms/cms_io.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/crypto/cms/cms_io.c b/crypto/cms/cms_io.c index 1bb60b8dcb..051757b560 100644 --- a/crypto/cms/cms_io.c +++ b/crypto/cms/cms_io.c @@ -89,20 +89,6 @@ int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) IMPLEMENT_PEM_rw_const(CMS, CMS_ContentInfo, PEM_STRING_CMS, CMS_ContentInfo) -#if 0 -/* Streaming encode support for CMS */ - -static BIO *cmsbio_init(ASN1_VALUE *val, BIO *out) - { - return CMS_dataInit((CMS_ContentInfo *)val, out); - } - -static int cmsbio_final(ASN1_VALUE *val, BIO *cmsbio) - { - return CMS_dataFinal((CMS_ContentInfo *)val, cmsbio); - } -#endif - BIO *BIO_new_CMS(BIO *out, CMS_ContentInfo *cms) { return BIO_new_NDEF(out, (ASN1_VALUE *)cms, |