wouter
f8e0e6c54c
- remove NULL-checks before free, patch from Michael McConville.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3580 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-12-11 10:26:15 +00:00
wouter
984f91d1b4
- Fix #594 . libunbound: optionally use libnettle for crypto.
...
Contributed by Luca Bruno. Added --with-nettle for use with
--with-libunbound-only.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3533 be551aaa-1e26-0410-a405-d3ace91eadb9
2015-11-17 09:43:07 +00:00
wouter
bd07151d8f
Fix dependency on -lrt and please lint.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3168 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 12:27:20 +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
wouter
ead8d72e79
Fix elifs
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3123 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-23 13:10:25 +00:00
wouter
42e01388c8
Patch from Jeremie Courreges-Anglas to use arc4random_uniform
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3120 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-23 13:00:35 +00:00
wouter
68b138cbd3
And fix #551 REGENT to COPYRIGHT HOLDER in license in file headings.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3079 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-02-07 13:28:39 +00:00
wouter
8e6ee27eda
- separate ldns into core ldns inside ldns/ subdirectory. No more
...
--with-ldns is needed and unbound does not rely on libldns.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2998 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-10-31 15:09:26 +00:00
wouter
2643272560
- includes and have_ssl fixes for nss.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2830 be551aaa-1e26-0410-a405-d3ace91eadb9
2013-01-30 13:15:03 +00:00
wouter
9aba3e1991
- FIPS_mode openssl does not use arc4random but RAND_pseudo_bytes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2709 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-07-03 09:32:16 +00:00
wouter
f868163ad9
compile fix for fedora.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2694 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-06-21 10:27:12 +00:00
wouter
5373e6bec7
- work on --with-nss build option (for now, --with-libunbound-only).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2690 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-06-20 15:11:53 +00:00
wouter
18934b4be5
fix alignment problem in util/random.c for sparc64/freebsd.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2666 be551aaa-1e26-0410-a405-d3ace91eadb9
2012-05-09 09:13:57 +00:00
wouter
c046d1d839
Fixed random numbers for port, interface and server selection.
...
Removed very small bias.
Also some lint fixes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@2049 be551aaa-1e26-0410-a405-d3ace91eadb9
2010-03-18 14:42:22 +00:00
wouter
4be195ce0c
Fix mingw ID randomness from 8 to 16 bits.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1717 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-07-13 15:47:42 +00:00
wouter
e50bcb5bb3
suppress ipv4mapped errors from logs.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1570 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-04-01 10:01:43 +00:00
wouter
7736e091dc
Read dev/random before chroot.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1567 be551aaa-1e26-0410-a405-d3ace91eadb9
2009-03-30 12:16:21 +00:00
wouter
16d6913d66
Added copyright statement from OpenBSD authors.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1165 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-25 05:32:52 +00:00
wouter
d77689684b
#198 bug fixups.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@1162 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-07-21 07:59:29 +00:00
wouter
86f9eb4fdc
fixes for random number badness (lack of entropy and SIGFPE from RAND_cleanup
...
too early).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@907 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 14:34:53 +00:00
wouter
ba980a8c39
more locks.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@906 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 13:42:55 +00:00
wouter
520eb18918
Two small fixes.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@905 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-28 09:31:29 +00:00
wouter
83e869ce88
seeding bigger to make openssl happy.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@831 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-09 12:48:03 +00:00
wouter
575a691403
warning about entropy.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@828 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-09 12:04:20 +00:00
wouter
a4c0212803
rng fixup (trunk).
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@827 be551aaa-1e26-0410-a405-d3ace91eadb9
2008-01-09 10:55:37 +00:00
wouter
e44c3869de
Arc4random.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@683 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-10-17 12:08:34 +00:00
wouter
9845f06053
Signal solution
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@152 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-27 10:33:04 +00:00
wouter
2c1cff44c2
Random nrs.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@144 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 16:40:58 +00:00
wouter
abcd9fdb40
random code cleaned up.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@143 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 16:27:10 +00:00
wouter
34d45e9677
Commit of straight random.c, modifications can show up in svn.
...
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@142 be551aaa-1e26-0410-a405-d3ace91eadb9
2007-02-23 15:48:25 +00:00