]> git.ipfire.org Git - thirdparty/openvpn.git/commit
ntlm: restyle compressed multiple function calls
authorAntonio Quartulli <a@unstable.cc>
Mon, 10 Jul 2017 04:34:40 +0000 (12:34 +0800)
committerDavid Sommerseth <davids@openvpn.net>
Fri, 11 Aug 2017 18:38:01 +0000 (20:38 +0200)
commitc2d08916f1b7933bec81422d1f14f84e9b1ef878
tree289abb99c25e6f20233827448b41f3012be59bf5
parente7e4070cb7b90f4836b65c53360166e11fc3f383
ntlm: restyle compressed multiple function calls

The gen_md4_hash() function is receiving as first argument a buffer
that is filled by a function invoked when evaluating the second
argument.

Although this is proper C, it makes the call invocation a bit obscure
because it is not immediately easy to grasp how the 'pwbuf' buffer is
filled.

Unroll the multiple function call onto lines and make the core more
readable.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20170710043441.24770-4-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15030.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
src/openvpn/ntlm.c