[EMAIL PROTECTED] schrieb:
> levitte     16-Jul-2002 08:51:56
Hello Richard,

>   Modified:    apps     Tag: OpenSSL_0_9_7-stable s_client.c s_server.c
>   Log:
>   Set up the engine before doing anything random-related, since engine randomness
>   is only used for seeding and doing it in the wrong order will mean seeding
>   is done before the engine randomness is hooked in.
>   Notified by Frederic DONNAT <[EMAIL PROTECTED]>

>   Index: s_client.c
>   ===================================================================
>   RCS file: /e/openssl/cvs/openssl/apps/s_client.c,v
>   retrieving revision 1.54.2.1
>   retrieving revision 1.54.2.2
>   diff -u -r1.54.2.1 -r1.54.2.2
>   --- s_client.c      2002/02/22 13:56:35     1.54.2.1
>   +++ s_client.c      2002/07/16 06:51:44     1.54.2.2
>   @@ -433,6 +433,11 @@
>               goto end;
>               }
>    
>   +   OpenSSL_add_ssl_algorithms();
>   +   SSL_load_error_strings();
>   +
>   +        e = setup_engine(bio_err, engine_id, 1);
>   +
>       if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL
>               && !RAND_status())

Why bother with a rand file if we have an engine (with RAND support) ?

Bye

Goetz

-- 
Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de
Sonninstr. 24-28, 20097 Hamburg, Germany
Tel.: +49-(0)40 80 80 26 -0,  Fax: +49-(0)40 80 80 26 -126

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to