Maintained by: NLnet Labs

[Unbound-users] assertion failure testcode/unitverify.c:201

David Conrad
Mon Dec 12 15:48:07 CET 2011


Hi Wouter,

Thanks. Easy workaround.  I wonder if anyone is actually signing with GOST...

Regards,
-drc

On Dec 12, 2011, at 2:36 AM, W.C.A. Wijngaards wrote:

> 
> Hash: SHA1
> 
> Hi Jaap, David,
> 
> Yes I fixed it lately.  Seems that on OSX Lion the openssl-GOST
> routines are bugged.  The GOST94-hash function gives different outputs
> than what it 'should do', (I compared with other platforms).  The fix
> is that it disables GOST support if ./configure detects that the hash
> function produces the wrong output (i.e. hash("hello world") != the
> correct value).
> 
> The failure in the unit test indicates this problem, it is otherwise
> harmless.  A workaround would be to ./configure --disable-gost.  The
> unit test failure should then be gone (with older versions as well).
> 
> Best regards,
>   Wouter
> 
> On 12/07/2011 12:20 PM, Jaap Akkerhuis wrote:
>> David,
>> 
>> Just tried building unbound 1.4.13 on MacOS 10.7 (Lion) and got:
>> 
>> % make <successful compilation> % make test ./unittest Start of
>> unbound 1.4.13 unit test. test negative cache functions test
>> ub_random functions ub_random seed is 1323198995 test signature
>> verify functions assertion failure testcode/unitverify.c:201 make:
>> *** [test] Error 1
>> 
>> Before I start digging, has anyone else encountered this?
>> 
>> I just tried it and see this as well. Bummer.
>> 
>> I don't see this with the latest version from svn and Lion.
>> 
>> jaap _______________________________________________ Unbound-users
>> mailing list Unbound-users at unbound.net 
>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 
> 
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users