Fix alpn_server_select_protocol to be static.

This commit is contained in:
Jan Vidar Krey 2019-03-31 19:33:46 +02:00
parent 56426f7b2a
commit 212064c166
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ unsigned char alpn_protocols[] = {
* Callback for the server to select a protocol from the list
* sent by the client via ALPN.
*/
int alpn_server_select_protocol(SSL *ssl, const unsigned char **out, unsigned char *outlen,
static int alpn_server_select_protocol(SSL *ssl, const unsigned char **out, unsigned char *outlen,
const unsigned char *in, unsigned int inlen, void *arg)
{
int res = SSL_select_next_proto((unsigned char **)out, outlen,