[openssl.org #2932] smime cmdline utility ignores errors

2014-09-09 Thread Rich Salz via RT
Fixed in https://github.com/akamai/openssl/tree/rsalz-monolith/apps for
inclusion after 1.0.2
(The RAND_xxx issue was already fixed)

commit 16365c8dc390e1cb29a4f64c9b3450d89532a960
Author: Dmitry Belyavsky 
Date: Tue Sep 9 12:09:32 2014 -0400

RT2932: Catch write errors

Don't ignore the return value when writing PKCS7.

--
Rich Salz, OpenSSL dev team; rs...@openssl.org

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   majord...@openssl.org


[openssl.org #2932] smime cmdline utility ignores errors

2012-12-05 Thread Dmitry Belyavsky via RT
Greetings!

The result of functions writing PKCS#7 structure is ignored in smime
cmdline utility.
The patch fixing it is attached.

Also I should mention that the result of RAND_pseudo_bytes
in SMIME_write_ASN1 is ignored, and on failure the boundary data is
incorrectly initialized.

Thank you!

-- 
SY, Dmitry Belyavsky

Greetings!The result of functions writing PKCS#7 structure is ignored in smime cmdline utility.The patch fixing it is attached.Also I should mention that the result of RAND_pseudo_bytes in SMIME_write_ASN1 is ignored, and on failure the boundary data is incorrectly initialized.
Thank you!-- SY, Dmitry Belyavsky



smime.diff
Description: Binary data