[haiku-commits] Re: r41828 - haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 30 May 2011 10:18:20 +0200 (MEST)

clemens.zeidler@xxxxxxxxxxxxxx wrote:
> +             RAND_seed(this, sizeof(InitSSL));
> +             /*--- Because we're an add-on loaded at an unpredictable time, 
> all the
> +             memory addresses and things contained in ourself are 
> esssentially
> +             random. */

I know you didn't write this originally, but this is not really very random, 
and it wouldn't hurt to put a bit more randomness in there (via system_time() 
for example).

Bye,
   Axel.


Other related posts: