Re: openssl smime -rand

2004-02-15 Thread Michael Bell
Lutz Jaenicke wrote: On Thu, Feb 12, 2004 at 12:19:44PM +0100, Michael Bell wrote: Hi, I found a problem with "openssl smime -rand filename". If I specify a randfile then this file is not updated by apps/smime.c. The program calls app_RAND_write_file with a NULL pointer even if a randfile was

[openssl.org #826] Patch: cswift engine openssl-0.9.7c

2004-02-15 Thread Frédéric Giudicelli via RT
Hi, There is a problem with the swift engine: - in cswift_mod_exp_crt, it expects the length of "dmp1" and "dmq1" to be a multiple of 32, which is not always the case, the patch complements the datas with '\0' until the length is a multiple of 32. - in cswift_rand_bytes, it expects "num" to be