tls_error
tls_error_set(struct tls_error *error, int code, const char *fmt, ...)
tls_error_setx(struct tls_error *error, int code, const char *fmt, ...)
tls_error_clear(struct tls_error *error)
tls_error_vset(struct tls_error *error, int code, int errno_value,
const char *tls_error(struct tls *_ctx);
tls_config_load_file(struct tls_error *error, const char *filetype,
struct tls_error error;
struct tls_error *_error, const char *_cert_file);
struct tls_error *_error, const uint8_t *_cert, size_t _len);
struct tls_error *_error, const char *_key_file);
struct tls_error *_error, const uint8_t *_key, size_t _len);
struct tls_error *_error, const char *_ocsp_file);
struct tls_error *_error, const uint8_t *_staple, size_t _len);
struct tls_error *_error, X509 **_cert);
int tls_config_load_file(struct tls_error *error, const char *filetype,
void tls_error_clear(struct tls_error *error);
int tls_error_set(struct tls_error *error, int code, const char *fmt, ...)
int tls_error_setx(struct tls_error *error, int code, const char *fmt, ...)
struct tls_error error;
struct tls_error *error, const char *ocsp_file)
struct tls_error *error, const uint8_t *staple, size_t len)
tls_keypair_load_cert(struct tls_keypair *keypair, struct tls_error *error,
tls_keypair_pubkey_hash(struct tls_keypair *keypair, struct tls_error *error)
tls_keypair_set_cert_file(struct tls_keypair *keypair, struct tls_error *error,
tls_keypair_set_cert_mem(struct tls_keypair *keypair, struct tls_error *error,
tls_keypair_set_key_file(struct tls_keypair *keypair, struct tls_error *error,
tls_keypair_set_key_mem(struct tls_keypair *keypair, struct tls_error *error,
struct tls_error error;
*estr = tls_error(a->tls);
errx(1, "failed to configure TLS - %s", tls_error(tlsctx));
struct tls_error err;
errx(1, "%s handshake failed: %s", name, tls_error(ctx));
errx(1, "failed to accept: %s", tls_error(server));
errx(1, "failed to connect: %s", tls_error(client));
errx(1, "failed to configure client: %s", tls_error(client));
errx(1, "failed to configure server: %s", tls_error(server));
errx(1, "%s handshake failed: %s", name, tls_error(ctx));
errx(1, "%s close failed: %s", name, tls_error(ctx));
errx(1, "failed to accept: %s", tls_error(server));
errx(1, "failed to connect: %s", tls_error(client));
errx(1, "failed to accept: %s", tls_error(server));
errx(1, "failed to connect: %s", tls_error(client));
errx(1, "failed to accept: %s", tls_error(server));
errx(1, "failed to connect: %s", tls_error(client));
errx(1, "failed to configure client: %s", tls_error(client));
errx(1, "failed to configure server: %s", tls_error(server));
errx(1, "failed to configure client: %s", tls_error(client));
errx(1, "failed to configure server: %s", tls_error(server));
errx(1, "failed to configure client: %s", tls_error(client));
errx(1, "failed to configure server: %s", tls_error(server));
errx(1, "failed to configure client: %s", tls_error(client));
errx(1, "failed to configure server: %s", tls_error(server));
errx(1, "failed to configure client: %s", tls_error(client));
errx(1, "failed to configure server: %s", tls_error(server));
errx(1, "failed to accept: %s", tls_error(server));
errx(1, "failed to connect: %s", tls_error(client));
errx(1, "failed to configure client: %s", tls_error(client));
errx(1, "failed to configure server: %s", tls_error(server));
errx(1, "failed to accept: %s", tls_error(server));
errx(1, "failed to connect: %s", tls_error(client));
"%s\n", test_no, vt->name, tls_error(tls));
const char *tlserr = tls_error(tls);
tls_error(tls));
fprintf(ttyout, "TLS connect failure: %s\n", tls_error(tls));
fprintf(ttyout, "TLS handshake failure: %s\n", tls_error(tls));
*estr = tls_error(a->tls);
errx(1, "tls write failed (%s)", tls_error(tls));
errx(1, "tls read failed (%s)", tls_error(tls));
tls_error(tls_ctx));
tls_error(tls_ctx));
tls_error(tls_ctx));
if ((errstr = tls_error(tls_ctx)) == NULL)
warnx("tls accept failed (%s)", tls_error(tls_ctx));
if ((errstr = tls_error(tls_cctx)) == NULL)
err(1, "tls_read: %s", tls_error(sc->tls));
errx(1, "tls_configure: %s", tls_error(tls));
err(1, "tls_accept_socket: %s", tls_error(tls));
warn("tls_write: %s", tls_error(sc->tls));
tls_error(sc->tls));
tls_error(sc->tls));
if ((errstr = tls_error(sc->tls)) == NULL)
http->src.ip, tls_error(http->ctx));
http->host, tls_error(http->ctx));
tls_error(http->ctx));
tls_error(http->ctx));
tls_error(clt->clt_tls_ctx));
tls_error(srv->srv_tls_ctx));
log_warnx("ldape: %s", tls_error(l->tls));
tls_error(httpsdate->tls_ctx));
tls_error(httpsdate->tls_ctx));
tls_error(http->ctx));
tls_error(http->ctx));
tls_error(http->ctx));
http->src.ip, tls_error(http->ctx));
http->host, tls_error(http->ctx));
log_debug("TLS error: %s: %s: %s", where, what, tls_error(cte->tls));
tls_error(tls));
tls_error(tls));
tls_error(cre->tls)) >= 0) {
tls_error(conn->tls));
tls_error(conn->tls));
tls_error(conn->tls));
tls_error(conn->tls));
tls_error(conn->tls));
io->error = tls_error(tls);
io->error = tls_error(tls);
io->error = tls_error(io->tls);
io->error = tls_error(io->tls);
io->error = tls_error(io->tls);
fatalx("tls_configure: %s", tls_error(l->tls));
fatalx("tls_configure: %s", tls_error(tls));
peername, tls_error(server_ctx));
p->p_ctx ? tls_error(p->p_ctx) : strerror(errno));
tls_error(f->f_un.f_forw.f_ctx) : strerror(errno));
tls_error(f->f_un.f_forw.f_ctx));
tls_error(f->f_un.f_forw.f_ctx));
tls_error(server_ctx));
*estr = tls_error(a->tls);