fetchmail-friends
[Top] [All Lists]

[fetchmail] Re: The 6.2.5 release of fetchmail is available

2003-10-21 10:31:05
Hello Matthias,

>> today I tried to compile Fetchmail 6.2.5 on my Suse Linux box.
>> I used the same parameters which I have used for all previous
>> releases.
>>
>> ./configure --with-ssl=/soft/openssl-0.9.7c --disable-nls
>> -enable-NTLM
>>
>> But now compilation failed with the following error message:

Worked for me with --with-ssl on stock SuSE Linux 8.2.

I have compared the 6.2.4 and 6.2.5 files and found out that
these new code has been added to socket.c which causes the
error:

  ifdef SSL_ENABLE
        if (stat("/dev/random", &randstat)  &&
            stat("/dev/urandom", &randstat)) {
          /* Neither /dev/random nor /dev/urandom are present, so add
             entropy to the SSL PRNG a hard way. */
          for (i = 0; i < 10000  &&  ! RAND_status (); ++i) {
            char buf[4];
            struct timeval tv;               #<==
            gettimeofday (&tv, 0);
            buf[0] = tv.tv_usec & 0xF;
            buf[2] = (tv.tv_usec & 0xF0) >> 4;
            buf[3] = (tv.tv_usec & 0xF00) >> 8;
            buf[1] = (tv.tv_usec & 0xF000) >> 12;
            RAND_add (buf, sizeof buf, 0.1);
          }
        }
  #endif /* SSL_ENABLE */

Rgds Jürgen
--
Mail: juergen(_dot_)edner(_at_)telejeck(_dot_)de
PGP Key available
---


<Prev in Thread] Current Thread [Next in Thread>