Skip to content

Commit

Permalink
src/openssl.c: quieten some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
daurnimator committed Jul 28, 2019
1 parent 4f07d04 commit 989ccbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 989ccbd

Please sign in to comment.