diff options
author | Antonio Quartulli | 2017-08-11 17:07:42 +0800 |
---|---|---|
committer | David Sommerseth | 2017-08-14 13:08:05 +0200 |
commit | d1e18d89d9ff4ce946f27d5b019c407bf750fe4b (patch) | |
tree | 05fc004dae0a0dc16bd6e56837f7b3552f47d3a2 /src/openvpn/ssl.c | |
parent | a5c2cb6046e7e23554b7bd71a52079b559129e0d (diff) | |
download | openvpn-d1e18d89d9ff4ce946f27d5b019c407bf750fe4b.zip openvpn-d1e18d89d9ff4ce946f27d5b019c407bf750fe4b.tar.gz |
add missing static attribute to functions
Functions used only in the file where they are
defined and not exported in any header, should
always defined as static in order to make the scope
clear to the compiler and the developers.
Add the static attribute where missing.
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20170811090744.31750-4-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15202.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
(cherry picked from commit 72bcdfdc19243c1ed6cb8568f62f0c35e8b70f5f)
Diffstat (limited to 'src/openvpn/ssl.c')
-rw-r--r-- | src/openvpn/ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index e431541..e783fd1 100644 --- a/src/openvpn/ssl.c +++ b/src/openvpn/ssl.c @@ -1607,7 +1607,7 @@ key_source2_print(const struct key_source2 *k) * @param out Output buffer * @param olen Length of the output buffer */ -void +static void tls1_P_hash(const md_kt_t *md_kt, const uint8_t *sec, int sec_len, |