]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
buffer randomness from gnutls
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 17 Sep 2018 15:37:16 +0000 (17:37 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 11 Dec 2018 11:19:43 +0000 (12:19 +0100)
commit98cb95925a6fd64bfd5b1a0e55e9bafde0c574dd
tree3b1f1273bb611bac994b928f76c863a28cc4b5de
parentf8867141dbeb24ffad44a1059f9a4596eeae1c7c
buffer randomness from gnutls

gnutls_rnd() is more heavy-weight than I originally anticipated,
and in simple profiling it would take roughly 1% of CPU.
With this simple buffering the usage dropped well under 0.1%.
lib/utils.c
lib/utils.h