Maintained by: NLnet Labs

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

W.C.A. Wijngaards
Mon Dec 12 11:36:13 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJO5dkcAAoJEJ9vHC1+BF+Nm3IQAIml7U/ma0PjgMZiekUHHjaN
xwjvZ89DlKqencir9X7OhgLDQDNlGuGfPI5nX7UhrZSY2aSbAM82cq9tkF1YJEm/
zk4HywH8LKFoulrIHvLevEbafFMJDNKR2QWKmhSFHcAdeDg57v7IJO+II1TcVEHc
jXNQyf60irQRPQQWvew4r7fgmPVg05I54vJxEOxSPP3Vz226CTcKtNGvGKaa7xr3
dNXAS9vooJKVFZEC3abSvNCnZTqNr9JAnyRl5/QZjefw+h/iL0uCMccFwa5nOs63
9v96CXTLTS7bVhp4RpUkm4QIHvqcnSVX0icOM5knityytVH45yNT74HehCnQ2fKW
Hz0FGRcJu+sT+CeGFxgDvupb7Yj9PEZcb1wo4CIOv5Mi0FIq50ZptoZcsjxtcviV
+famn90CPW6SV/otB2U/ZUbaXufDr21bb7VtfKnUjiNBgI+I5otvBD54D7VxyKLm
r/CxBhBBlbqyKkTWwcFGlpPyg0Z05L5QGI8SBcgpKvNe/kDdr6T+HeGK/PiBigfZ
+d92qdfUDZi0u17BOOrLRZg+uwdn6XAsilTU6IdG66tlwO8DNjDM7uIyVlzQR3FL
rFlLUNWSIylCFU3jgQP+F/lyYpVzAiLZPwKSiD7E6NFEE1S/RYrRrZIbm+R8v/Yk
AK+EiwKRlNQOXLLGnMHp
=kJgE
-----END PGP SIGNATURE-----