Home
last modified time | relevance | path

Searched refs:tls_error (Results 1 – 25 of 30) sorted by relevance

12

/openbsd-src/regress/lib/libtls/tls/
H A Dtlstest.c136 errx(1, "%s handshake failed: %s", name, tls_error(ctx)); in do_tls_handshake()
150 errx(1, "%s close failed: %s", name, tls_error(ctx)); in do_tls_close()
224 errx(1, "failed to accept: %s", tls_error(server)); in test_tls_cbs()
228 errx(1, "failed to connect: %s", tls_error(client)); in test_tls_cbs()
250 errx(1, "failed to accept: %s", tls_error(server)); in test_tls_fds()
253 errx(1, "failed to connect: %s", tls_error(client)); in test_tls_fds()
279 errx(1, "failed to accept: %s", tls_error(server)); in test_tls_socket()
282 errx(1, "failed to connect: %s", tls_error(client)); in test_tls_socket()
331 errx(1, "failed to configure client: %s", tls_error(client)); in test_tls()
334 errx(1, "failed to configure server: %s", tls_error(serve in test_tls()
[all...]
/openbsd-src/lib/libtls/
H A Dtls_internal.h47 struct tls_error { struct
87 struct tls_error error;
187 struct tls_error error;
220 struct tls_error *_error, const char *_cert_file);
222 struct tls_error *_error, const uint8_t *_cert, size_t _len);
224 struct tls_error *_error, const char *_key_file);
226 struct tls_error *_error, const uint8_t *_key, size_t _len);
228 struct tls_error *_error, const char *_ocsp_file);
230 struct tls_error *_error, const uint8_t *_staple, size_t _len);
232 struct tls_error *_erro
48 msgtls_error global() argument
49 codetls_error global() argument
50 errno_valuetls_error global() argument
51 tlstls_error global() argument
[all...]
H A Dtls_keypair.c33 tls_keypair_pubkey_hash(struct tls_keypair *keypair, struct tls_error *error) in tls_keypair_pubkey_hash()
68 tls_keypair_set_cert_file(struct tls_keypair *keypair, struct tls_error *error, in tls_keypair_set_cert_file()
78 tls_keypair_set_cert_mem(struct tls_keypair *keypair, struct tls_error *error, in tls_keypair_set_cert_mem()
87 tls_keypair_set_key_file(struct tls_keypair *keypair, struct tls_error *error, in tls_keypair_set_key_file()
96 tls_keypair_set_key_mem(struct tls_keypair *keypair, struct tls_error *error, in tls_keypair_set_key_mem()
105 struct tls_error *error, const char *ocsp_file) in tls_keypair_set_ocsp_staple_file()
113 struct tls_error *error, const uint8_t *staple, size_t len) in tls_keypair_set_ocsp_staple_mem()
135 tls_keypair_load_cert(struct tls_keypair *keypair, struct tls_error *error, in tls_keypair_load_cert()
H A Dtls.c70 tls_error(struct tls *ctx) in tls_error() function
82 tls_error_clear(struct tls_error *error) in tls_error_clear()
92 tls_error_vset(struct tls_error *error, int code, int errno_value, in tls_error_vset()
127 tls_error_set(struct tls_error *error, int code, const char *fmt, ...) in tls_error_set()
142 tls_error_setx(struct tls_error *error, int code, const char *fmt, ...) in tls_error_setx()
H A DSymbols.list65 tls_error
H A Dtls.h98 const char *tls_error(struct tls *_ctx);
H A Dtls_signer.c44 struct tls_error error;
H A Dtls_config.c41 tls_config_load_file(struct tls_error *error, const char *filetype, in tls_config_load_file()
/openbsd-src/regress/lib/libtls/signer/
H A Dsignertest.c292 errx(1, "%s handshake failed: %s", name, tls_error(ctx)); in do_tls_handshake()
329 errx(1, "failed to accept: %s", tls_error(server)); in test_tls_handshake_socket()
332 errx(1, "failed to connect: %s", tls_error(client)); in test_tls_handshake_socket()
391 errx(1, "failed to configure client: %s", tls_error(client)); in test_signer_tls()
393 errx(1, "failed to configure server: %s", tls_error(server)); in test_signer_tls()
/openbsd-src/usr.sbin/ocspcheck/
H A Dhttp.c101 tls_error(http->ctx)); in dotlsread()
116 tls_error(http->ctx)); in dotlswrite()
193 tls_error(http->ctx)); in http_disconnect()
313 http->src.ip, tls_error(http->ctx)); in http_alloc()
319 http->host, tls_error(http->ctx)); in http_alloc()
/openbsd-src/usr.sbin/smtpd/
H A Dioev.c817 io->error = tls_error(tls); in io_connect_tls()
841 io->error = tls_error(tls); in io_accept_tls()
874 io->error = tls_error(io->tls); in io_dispatch_handshake_tls()
909 io->error = tls_error(io->tls); in io_dispatch_read_tls()
949 io->error = tls_error(io->tls); in io_dispatch_write_tls()
H A Dsmtp.c223 fatalx("tls_configure: %s", tls_error(l->tls)); in smtp_setup_listener_tls()
H A Dsmtpc.c459 fatalx("tls_configure: %s", tls_error(tls)); in smtp_require_tls()
/openbsd-src/usr.sbin/acme-client/
H A Dhttp.c102 tls_error(http->ctx)); in dotlsread()
117 tls_error(http->ctx)); in dotlswrite()
310 http->src.ip, tls_error(http->ctx)); in http_alloc()
316 http->host, tls_error(http->ctx)); in http_alloc()
/openbsd-src/usr.bin/nc/
H A Dnetcat.c570 tls_error(tls_ctx)); in main()
684 tls_error(tls_ctx)); in main()
806 tls_error(tls_ctx)); in tls_setup_client()
809 if ((errstr = tls_error(tls_ctx)) == NULL) in tls_setup_client()
832 warnx("tls accept failed (%s)", tls_error(tls_ctx)); in tls_setup_server()
834 if ((errstr = tls_error(tls_cctx)) == NULL) in tls_setup_server()
1302 errx(1, "tls write failed (%s)", tls_error(tls)); in drainbuf()
1331 errx(1, "tls read failed (%s)", tls_error(tls)); in fillbuf()
/openbsd-src/regress/lib/libtls/keypair/
H A Dkeypairtest.c91 struct tls_error err; in do_keypair_tests()
/openbsd-src/usr.bin/ftp/
H A Dfetch.c652 tls_error(tls)); in url_get()
656 fprintf(ttyout, "TLS connect failure: %s\n", tls_error(tls)); in url_get()
663 fprintf(ttyout, "TLS handshake failure: %s\n", tls_error(tls)); in url_get()
1697 const char *tlserr = tls_error(tls); in sockerror()
/openbsd-src/usr.sbin/rpki-client/
H A Dhttp.c1110 tls_error(conn->tls)); in http_tls_connect()
1115 tls_error(conn->tls)); in http_tls_connect()
1131 tls_error(conn->tls)); in http_tls_handshake()
1533 tls_error(conn->tls)); in http_read()
1722 tls_error(conn->tls)); in http_write()
/openbsd-src/usr.sbin/relayd/
H A Dcheck_tls.c210 log_debug("TLS error: %s: %s: %s", where, what, tls_error(cte->tls)); in check_tls_error()
/openbsd-src/regress/lib/libtls/verify/
H A Dverifytest.c496 "%s\n", test_no, vt->name, tls_error(tls)); in do_verify_test()
/openbsd-src/regress/lib/libtls/gotls/
H A Dtls.go177 if msg := C.tls_error(t.ctx); msg != nil {
/openbsd-src/usr.sbin/ntpd/
H A Dconstraint.c1002 tls_error(httpsdate->tls_ctx)); in httpsdate_request()
1015 tls_error(httpsdate->tls_ctx)); in httpsdate_request()
/openbsd-src/usr.sbin/syslogd/
H A Dsyslogd.c713 tls_error(server_ctx)); in main()
1186 peername, tls_error(server_ctx)); in acceptcb()
1370 p->p_ctx ? tls_error(p->p_ctx) : strerror(errno)); in tcp_socket()
1450 tls_error(f->f_un.f_forw.f_ctx) : strerror(errno)); in tcp_errorcb()
1530 tls_error(f->f_un.f_forw.f_ctx)); in tcp_connectcb()
1537 tls_error(f->f_un.f_forw.f_ctx)); in tcp_connectcb()
/openbsd-src/usr.sbin/ldapd/
H A Dldape.c435 log_warnx("ldape: %s", tls_error(l->tls)); in ldape()
/openbsd-src/usr.sbin/httpd/
H A Dserver.c351 tls_error(srv->srv_tls_ctx)); in server_tls_init()
1193 tls_error(clt->clt_tls_ctx)); in server_tls_handshake()

12