diff options
author | Matt Caswell <matt@openssl.org> | 2015-10-26 11:13:56 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-10-30 08:39:47 +0000 |
commit | 3616bb63586df04b22de00f49bc92d92dff1b8b6 (patch) | |
tree | cb5af42ff2478ac09ce6b05dfcf576f0ea776344 /ssl/d1_lib.c | |
parent | 006207d1bc39335b9cb474e6c9a4ca96a33bae46 (diff) |
Make dtls1_link_min_mtu static
The function dtls1_link_min_mtu() was only used within d1_lib.c so make
it static.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r-- | ssl/d1_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index f8a6a37362..733973b332 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -77,6 +77,7 @@ static void get_current_time(struct timeval *t); static int dtls1_set_handshake_header(SSL *s, int type, unsigned long len); static int dtls1_handshake_write(SSL *s); int dtls1_listen(SSL *s, struct sockaddr *client); +static unsigned int dtls1_link_min_mtu(void); /* XDTLS: figure out the right values */ static const unsigned int g_probable_mtu[] = { 1500, 512, 256 }; @@ -1135,7 +1136,7 @@ int dtls1_query_mtu(SSL *s) return 1; } -unsigned int dtls1_link_min_mtu(void) +static unsigned int dtls1_link_min_mtu(void) { return (g_probable_mtu[(sizeof(g_probable_mtu) / sizeof(g_probable_mtu[0])) - 1]); |