aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2019-07-29 00:21:46 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2019-07-29 02:58:00 +1000
commit989ccbd9aaeba8436443584e5220312382b8cc86 (patch)
treeb249b66b261a016aa112ff0d7800f50bcf607398 /src
parent4f07d044ec354acd4d41c6553a10195dcf0606d3 (diff)
downloadluaossl-989ccbd9aaeba8436443584e5220312382b8cc86.tar.gz
luaossl-989ccbd9aaeba8436443584e5220312382b8cc86.tar.bz2
luaossl-989ccbd9aaeba8436443584e5220312382b8cc86.zip
src/openssl.c: quieten some warnings
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c6
1 files changed, 3 insertions, 3 deletions
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;