converts an encrypted SSL file descriptor into an unencrypted stream.
When the returned stream is closed via
so too is the underlying file descriptor.
is the SSL context.
is the original file descriptor, over which the SSL protocol is spoken.
should be non-zero if the local side is the server.
The streams private state is allocated with
An idle timeout may be specified by setting
to the number of seconds.
is a pointer to a logging function having this type:
typedef void ssl_logger_t(void *arg, int sev, const char *fmt, ...);
is passed to
severity level, and
like format string with subsequent arguments.
is a routine for logging any SSL error.
It takes a
as specified above.