- arc4random in compat/ and getentropy, explicit_bzero, chacha for
  dependencies, from OpenBSD.  arc4_lock and sha512 in compat.
  This makes arc4random available on all platforms, except when
  compiled with LIBNSS (it uses libNSS crypto random).


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3158 be551aaa-1e26-0410-a405-d3ace91eadb9
Fix compile and test on Linux.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3159 be551aaa-1e26-0410-a405-d3ace91eadb9
autoconf and autoheader


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3160 be551aaa-1e26-0410-a405-d3ace91eadb9
Fixup solaris linkage.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3161 be551aaa-1e26-0410-a405-d3ace91eadb9
Fix getentropy_solaris compile.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3162 be551aaa-1e26-0410-a405-d3ace91eadb9
Fixup signed/unsigned comparison warnings on OSX in getentropy_osx.c


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3163 be551aaa-1e26-0410-a405-d3ace91eadb9
No getentropy needed if arc4random available.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3164 be551aaa-1e26-0410-a405-d3ace91eadb9
Make getentropy work on OSX with libunbound.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3165 be551aaa-1e26-0410-a405-d3ace91eadb9
Fix for sun compiler.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3166 be551aaa-1e26-0410-a405-d3ace91eadb9
Use log_info on OSX for getentropy pointer.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3167 be551aaa-1e26-0410-a405-d3ace91eadb9
Fix dependency on -lrt and please lint.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3168 be551aaa-1e26-0410-a405-d3ace91eadb9
Fixup locks to be more portable in compat.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3169 be551aaa-1e26-0410-a405-d3ace91eadb9
And doc.
(svn:NO TEST)


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3170 be551aaa-1e26-0410-a405-d3ace91eadb9
- fix strptime implicit declaration error on OpenBSD.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3171 be551aaa-1e26-0410-a405-d3ace91eadb9
- arc4random, getentropy and explicit_bzero compat for Windows.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3172 be551aaa-1e26-0410-a405-d3ace91eadb9
malloc calloc patch



git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3173 be551aaa-1e26-0410-a405-d3ace91eadb9
compat for arc4random with openssl 0.9.7 and openssl 0.9.8


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3174 be551aaa-1e26-0410-a405-d3ace91eadb9
Fixup SHA512 definitions from compat not appearing when not needed.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3175 be551aaa-1e26-0410-a405-d3ace91eadb9
remove ;


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3176 be551aaa-1e26-0410-a405-d3ace91eadb9
arc4random_uniform does not need the support functions, and comments.


git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@3177 be551aaa-1e26-0410-a405-d3ace91eadb9