git: wg: Improve noise_keypair_received_with()

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 15 00:28:05 PST 2024


commit f0fd05c3b77a206e896d219544618852899190ac
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Feb 7 21:56:46 2024 +0800

    wg: Improve noise_keypair_received_with()
    
    - Optimize the check flow by directly returning if the keypair is of an
      initiator.
    - Add a brief function description and another comment.

Summary of changes:
 sys/net/wg/wg_noise.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f0fd05c3b77a206e896d219544618852899190ac


-- 
DragonFly BSD source repository


More information about the Commits mailing list