]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move openvpn specific key expansion into its own function
authorArne Schwabe <arne@rfc2549.org>
Tue, 25 Aug 2020 07:36:42 +0000 (09:36 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 5 Oct 2020 06:41:47 +0000 (08:41 +0200)
commit15d0524327a10c2999f37375688196f8452f1029
treea60f24df1998bdb9c3d52914787a1dff6b6e9c84
parent23e11e591347080efa3b933beca7f620dd059d5c
Move openvpn specific key expansion into its own function

This moves the OpenVPN specific PRF into its own function also
simplifies the code a bit by passing tls_session directly instead of
5 of its fields.

Patch v2: Rebase

Patch v4: rewrite/fix comments,
          fix potential not initialised before goto issue

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20200825073643.15920-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20815.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl.c