BUILD: ssl: fix build with wolfSSL
fix build with wolfSSL, broken since the reorg in src/ssl_clienthello.c
This commit is contained in:
parent
4ced880d22
commit
5149cc4990
|
@ -112,6 +112,9 @@ int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg);
|
|||
#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);
|
||||
|
|
|
@ -545,7 +545,7 @@ int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *priv)
|
|||
*
|
||||
* 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;
|
||||
|
|
Loading…
Reference in New Issue