fix build with wolfSSL, broken since the reorg in src/ssl_clienthello.c
#else /* ! HAVE_SSL_CLIENT_HELLO_CB */
int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *priv);
#endif
+#ifdef USE_OPENSSL_WOLFSSL
+int ssl_sock_switchctx_wolfSSL_cbk(WOLFSSL* ssl, void* arg);
+#endif
int increment_sslconn();
void ssl_sock_load_cert_sni(struct ckch_inst *ckch_inst, struct bind_conf *bind_conf);
*
* Not activated for now since the PR is not merged.
*/
-static int ssl_sock_switchctx_wolfSSL_cbk(WOLFSSL* ssl, void* arg)
+int ssl_sock_switchctx_wolfSSL_cbk(WOLFSSL* ssl, void* arg)
{
struct bind_conf *s = arg;
int has_rsa_sig = 0, has_ecdsa_sig = 0;