git: wg: Replace strlen() with 'sizeof' in wg_{cookie,noise}.c
Aaron LI
aly at crater.dragonflybsd.org
Thu Feb 8 00:32:32 PST 2024
commit c3668ed7a3890d3e9938ba67a4458434fcb3e9eb
Author: Aaron LI <aly at aaronly.me>
Date: Thu Dec 7 10:24:09 2023 +0800
wg: Replace strlen() with 'sizeof' in wg_{cookie,noise}.c
Get rid of unnecessary strlen() calls.
Summary of changes:
sys/net/wg/wg_cookie.c | 20 +++++++++++++-------
sys/net/wg/wg_noise.c | 4 ++--
2 files changed, 15 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c3668ed7a3890d3e9938ba67a4458434fcb3e9eb
--
DragonFly BSD source repository
More information about the Commits
mailing list