detecting truncated ASN messages

2002-05-03 Thread Ken Hirsch
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

Suggestion for smime.c

2002-05-06 Thread Ken Hirsch
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

Re: SMIME question

2002-07-25 Thread Ken Hirsch
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

Re: CPU usage and SMIME?

2002-07-29 Thread Ken Hirsch
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

FAQ is missing

2002-08-11 Thread Ken Hirsch
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