Experimenting with "openssl smime -decrypt", I found that it did not detect that a
message was truncated. Changing line 173 of crypto/asn1/a_d2i_fp.c from
if (i <= 0)
to
if (i < want)
fixes the problem. I think this is the right code for all cases, but somebody who
actually understands the
ind input file\n");
goto end;
}
(Diff w.r.t 0.9.6d-beta1 is attached)
This would have saved me some time tracking down the problem.
Thanks,
Ken Hirsch
smime.c.diff
Description: Binary data
Maya wrote:
>When I create signed or encrypted message, I get as input param SMTP header + MIME
message.
>Do I have to signed and encrypt both (SMTP header + MIME message) or just the
second part?
>What should be the SMTP header of the Signed or(and) Encrypted message?
As others have noted, you
Maya wrote:
>I use Openssl 0.9.6c on Windows 2000.
>I use SMIME functions available and created my ATL COM which has 2 main functions
>:Encode and Decode.
>When I Sign or Encrypt messages with size about 3MB , the CPU usage goes up to
>100%. Is it possible something to be done about this? Even if
The contents of http://www.openssl.org/support/faq.html are missing.
__
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manag