From 989ccbd9aaeba8436443584e5220312382b8cc86 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 29 Jul 2019 00:21:46 +1000 Subject: src/openssl.c: quieten some warnings --- src/openssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/openssl.c b/src/openssl.c index fd4ad21..45e3517 100644 --- a/src/openssl.c +++ b/src/openssl.c @@ -10065,8 +10065,8 @@ static int sx_custom_ext_add_cb(SSL *s, unsigned int ext_type, } /* sx_custom_ext_add_cb() */ -static void sx_custom_ext_free_cb(SSL *s, unsigned int ext_type, - unsigned int context, const unsigned char *out, void *add_arg) +static void sx_custom_ext_free_cb(SSL *s, unsigned int ext_type NOTUSED, + unsigned int context NOTUSED, const unsigned char *out NOTUSED, void *add_arg NOTUSED) { SSL_CTX *ctx = SSL_get_SSL_CTX(s); lua_State *L = NULL; @@ -10120,7 +10120,7 @@ static int sx_custom_ext_parse_cb_helper(lua_State *L) { static int sx_custom_ext_parse_cb(SSL *s, unsigned int ext_type, unsigned int context, const unsigned char *in, size_t inlen, - X509 *x, size_t chainidx, int *al, void *parse_arg) + X509 *x, size_t chainidx, int *al, void *parse_arg NOTUSED) { SSL_CTX *ctx = SSL_get_SSL_CTX(s); lua_State *L = NULL; -- cgit v1.2.3-59-g8ed1b