From: Jeff King Date: Sat, 03 Oct 2009 09:58:11 GMT Subject: Re: [PATCH/RFC 5/7] imap-send: provide fall-back random-source Message-ID: <20091003095811.GB17873@coredump.intra.peff.net> In-Reply-To: <1254530385-2824-5-git-send-email-kusmabite@gmail.com> On Sat, Oct 03, 2009 at 12:39:43AM +0000, Erik Faye-Lund wrote: > Since some systems (at least Windows) does not have > /dev/random nor friends, we need another random-source. > > This patch uses the C-runtime's rand()-function as a > poor-mans random-source. Hmm. It looks like this arc4 RNG is used just for generating a unique "X-TUID" header. Which seems to be used in isync (from which imap-send is derived) to be to avoid duplicates in synchronization. But imap-send doesn't actually use it for anything, as it just blindly pushes the messages. In other words, should all of this TUID code (and the arc4 code) simply be ripped out? -Peff