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