[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gsasl 1.6.2
From: |
Bruno Haible |
Subject: |
Re: gsasl 1.6.2 |
Date: |
Fri, 25 Nov 2011 02:58:53 +0100 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Simon Josefsson wrote:
> > NetBSD 5.1/x86
> >
> > gsasl_random 3: SASL mechanism called too many times
> > gsasl_random memcmp fail
> > gsasl_nonce
> > gsasl_random
> > gsasl_md5
> > gsasl_hmac_md5
> > gsasl_sha1
> > gsasl_hmac_sha1
> > Self test `./crypto' finished with 2 errors
> > FAIL: crypto
>
> Ouch! There is at least one real bug here, the first error code is
> incorrect.
>
> What does `grep DEVICE lib/config.h' print on that system? Are the
> devices readable?
$ grep DEVICE ./config.h ./lib/config.h
./lib/config.h:#define NAME_OF_NONCE_DEVICE "/dev/urandom"
./lib/config.h:#define NAME_OF_PSEUDO_RANDOM_DEVICE "/dev/urandom"
./lib/config.h:#define NAME_OF_RANDOM_DEVICE "/dev/srandom"
$ ls -l /dev/*random*
cr--r--r-- 1 root wheel 46, 0 Dec 20 2010 /dev/random
crw-r--r-- 1 root wheel 46, 1 Dec 20 2010 /dev/urandom
Hmm. There is not /dev/srandom.
> Did the lib/gltests really succeed? Some of the errors above are
> somewhat strange if that were the case.
Yes, a "make check" in gltests/ succeeds.
Bruno
--
In memoriam Melanie Thornton <http://en.wikipedia.org/wiki/Melanie_Thornton>