From 212064c166f709557e9fb977b649bad52a07d37a Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Sun, 31 Mar 2019 19:33:46 +0200 Subject: [PATCH] Fix alpn_server_select_protocol to be static. --- src/network/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/openssl.c b/src/network/openssl.c index 766309a..d7f5376 100644 --- a/src/network/openssl.c +++ b/src/network/openssl.c @@ -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,