git: wg: Use karc4random() to generate jitter

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 8 00:32:31 PST 2024


commit 1ae95808d9db0efb9ad6399fc4aa3ad6be814cb8
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Nov 26 10:41:28 2023 +0800

    wg: Use karc4random() to generate jitter
    
    karc4random() should be enough; no need to use the more complex
    karc4random_uniform().

Summary of changes:
 sys/net/wg/if_wg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1ae95808d9db0efb9ad6399fc4aa3ad6be814cb8


-- 
DragonFly BSD source repository


More information about the Commits mailing list