21 rfd = SSL_get_fd(ssl);
22 wfd = SSL_get_fd(ssl);
24 SSL_set_accept_state(ssl);
34 x.events = IOPAUSE_READ;
36 if (x.fd == -1)
return -1;
39 x.events = IOPAUSE_WRITE;
41 if (x.fd == -1)
return -1;
int iopause(iopause_fd *x, unsigned int len, struct taia *deadline, struct taia *stamp)
int ssl_timeoutaccept(SSL *ssl, unsigned int timeout)
Header file to be used with sqmail; previously called ssl.h. (name clash)
int taia_now(struct taia *)
int taia_less(const struct taia *, const struct taia *)
void taia_add(struct taia *, const struct taia *, const struct taia *)
void taia_uint(struct taia *, unsigned int)