25RCSIDH(lib_bio_tls_h,
"$Id: c1eb3720429a607a3ce8010180071daa90981ae1 $")
28#include <freeradius-devel/bio/base.h>
29#include <freeradius-devel/server/request.h>
31#include <openssl/ssl.h>
33typedef struct fr_tls_connection_s fr_tls_connection_t;
void fr_bio_tls_close_send(fr_bio_tls_t *my)
Send a TLS close_notify alert to the peer.
bool client
Act as the client, and connect to a server.
fr_tls_connection_t * fr_bio_tls_conn(fr_bio_tls_t *my)
The TLS connection, so the caller can set conn->name
SSL_CTX * ssl_ctx
Used to create the TLS session.
int fr_bio_tls_connect(fr_bio_tls_t *my)
Take the connection through every state which comes before application data.
fr_bio_tls_t * fr_bio_tls_alloc(request_t *request, fr_bio_t *next, SSL_CTX *ssl_ctx, bool client, bool client_cert)
Allocate a TLS bio.
bool client_cert
For a server, require a client certificate.
static uint8_t request[4]