wouter
7064fd4e00
Configure tests if main can be linked to from getentropy compat.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3191 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-13 08:18:57 +00:00
wouter
edb2acae94
sync with OpenBSD.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3188 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 20:07:41 +00:00
wouter
41d5620427
Fixup and link in main for some systems.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3186 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 19:30:32 +00:00
wouter
0227ff54f1
Making getentropy the same across platforms.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3185 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 18:58:11 +00:00
wouter
e5d5340f1b
- update compat/getentropy to the most recent ones from OpenBSD.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3183 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 18:03:27 +00:00
wouter
690b27c016
- Fix getentropy compat code, function refs were not portable.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3178 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 11:33:38 +00:00
wouter
e2e1f8027a
Use log_info on OSX for getentropy pointer.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3167 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 12:09:37 +00:00
wouter
396129ba14
Make getentropy work on OSX with libunbound.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3165 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 11:37:53 +00:00
wouter
c780101d8c
Fixup signed/unsigned comparison warnings on OSX in getentropy_osx.c
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3163 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 10:12:15 +00:00
wouter
4b26592e42
- 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: https://unbound.nlnetlabs.nl/svn/trunk@3158 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:27:24 +00:00