diff --git a/libratbox/src/openssl.c b/libratbox/src/openssl.c index 944800de..49625bb7 100644 --- a/libratbox/src/openssl.c +++ b/libratbox/src/openssl.c @@ -35,6 +35,15 @@ static SSL_CTX *ssl_ctx = NULL; +struct ssl_connect +{ + CNCB *callback; + void *data; + int timeout; +}; + +static void rb_ssl_connect_realcb(rb_fde_t *, int, struct ssl_connect *); + static unsigned long get_last_err(void) { @@ -429,13 +438,6 @@ rb_ssl_listen(rb_fde_t *F, int backlog, int defer_accept) return result; } -struct ssl_connect -{ - CNCB *callback; - void *data; - int timeout; -}; - static void rb_ssl_connect_realcb(rb_fde_t *F, int status, struct ssl_connect *sconn) {