On Tue, Dec 28, 2010, Markus Wernig wrote:

> Hi all
> 
> I am having trouble decrypting S/MIME messages with openssl that were
> generated in an application using the bouncycastle java-api.
> 
[snip]
> 
> I know this was a long read, but still I would be very grateful for any
> pointers ... if any ;-).
> 
> I do have the two messages at hand, but would rather not clutter the
> list with attachments. They can be downloaded here:
> 
> http://xfer.ch/files/encMsgOk.eml.copy.txt
> http://xfer.ch/files/encMsgNok.eml.copy.txt

At around line 184 there is a longer line which seems to be confusing
OpenSSL's base64 decoder. If you add a newline in there it seems to be OK.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to