Re: openssl smime signing and corrupt message (own code)

2005-01-24 Thread michal wodzinski
Thanks for helping, openssl-users :) -- Regards, Michal __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager

Re: openssl smime signing and corrupt message (own code)

2005-01-24 Thread michal wodzinski
On Sat, 22 Jan 2005, Dr. Stephen Henson wrote: > On Fri, Jan 21, 2005, michal wodzinski wrote: > > Only difference in program is that i read in stdin into a readonly > > BIO, and therefor am able to rewind it. Whereas the openssl smime > > borks on stdin, and only accepts a

Re: openssl smime signing and corrupt message (own code)

2005-01-21 Thread michal wodzinski
;. (How foolish :) And apparently SMIME_write_PKCS7( out, p7, mem, flags ); writes the /whole/ BIO *mem first, and /then/ the PKCS7 *p7. And since mem contained an extra \0, this was of course also written :( A many thanks to th

openssl smime signing and corrupt message (own code)

2005-01-21 Thread michal wodzinski
ime.c:265: The ^@ sign is NOT shown with a cat, and is shown as a highlighted ^@ in less. I've tried cat newmail | ./smime-sign > signedmail2, and it gives the same result as ./smime-sign < newmail > signedmail2. I can supply more code if