Home
last modified time | relevance | path

Searched refs:SSL_get_error (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/crypto/openssl/doc/man3/
H A DSSL_want.pod33 return values are similar to that of L<SSL_get_error(3)>.
34 Unlike L<SSL_get_error(3)>, which also evaluates the
38 using L<SSL_get_error(3)>.
41 the result of L<SSL_get_error(3)>.
57 A call to L<SSL_get_error(3)> should return B<SSL_ERROR_WANT_WRITE>.
63 A call to L<SSL_get_error(3)> should return B<SSL_ERROR_WANT_READ>.
69 A call to L<SSL_get_error(3)> should return B<SSL_ERROR_WANT_X509_LOOKUP>.
75 A call to L<SSL_get_error(3)> should return B<SSL_ERROR_WANT_RETRY_VERIFY>.
80 L<SSL_get_all_async_fds(3)>. A call to L<SSL_get_error(3)> should return
86 available in the pool (see ASYNC_init_thread(3)). A call to L<SSL_get_error(3)>
[all …]
H A DSSL_do_handshake.pod30 to continue the handshake. In this case a call to SSL_get_error() with the
48 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
61 for nonblocking BIOs. Call SSL_get_error() with the return value B<ret>
68 L<SSL_get_error(3)>, L<SSL_connect(3)>,
H A DSSL_accept.pod29 In this case a call to SSL_get_error() with the
47 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
60 for nonblocking BIOs. Call SSL_get_error() with the return value B<ret>
67 L<SSL_get_error(3)>, L<SSL_connect(3)>,
H A DSSL_write.pod50 the operation. In this case a call to L<SSL_get_error(3)> with the
71 When a write function call has to be repeated because L<SSL_get_error(3)>
92 network error). In the event of a failure call L<SSL_get_error(3)> to find out
108 Call SSL_get_error() with the return value B<ret> to find out the reason.
112 You should instead call SSL_get_error() to find out if it's retryable.
130 Call SSL_get_error() with the return value to find out the reason.
136 L<SSL_get_error(3)>, L<SSL_read_ex(3)>, L<SSL_read(3)>
H A DSSL_shutdown.pod24 occurred on a connection i.e. if SSL_get_error() has returned SSL_ERROR_SYSCALL
59 to continue the handshake. In this case a call to SSL_get_error() with the
112 and SSL_get_error() returning SSL_ERROR_ZERO_RETURN.
119 SSL_read() will return <= 0 in that case, and SSL_get_error() will return
141 L<SSL_get_error(3)> should not get called, it may misleadingly
152 Call L<SSL_get_error(3)> with the return value B<ret> to find out the reason.
162 L<SSL_get_error(3)>, L<SSL_connect(3)>,
H A DSSL_connect.pod29 In this case a call to SSL_get_error() with the
62 by the specifications of the TLS/SSL protocol. Call SSL_get_error() with the
75 for nonblocking BIOs. Call SSL_get_error() with the return value B<ret>
82 L<SSL_get_error(3)>, L<SSL_accept(3)>,
H A DSSL_get_error.pod5 SSL_get_error - obtain result code for TLS/SSL I/O operation
11 int SSL_get_error(const SSL *ssl, int ret);
15 SSL_get_error() returns a result code (suitable for the C "switch"
19 function must be passed to SSL_get_error() in parameter B<ret>.
21 In addition to B<ssl> and B<ret>, SSL_get_error() inspects the
22 current thread's OpenSSL error queue. Thus, SSL_get_error() must be
26 attempted, or SSL_get_error() will not work reliably.
H A DSSL_read.pod78 In this case a call to L<SSL_get_error(3)> with the
104 In the event of a failure call L<SSL_get_error(3)> to find out the reason which
121 Call L<SSL_get_error(3)> with the return value B<ret> to find out the reason.
125 You should instead call SSL_get_error() to find out if it's retryable.
131 L<SSL_get_error(3)>, L<SSL_write_ex(3)>,
H A DSSL_get_all_async_fds.pod34 B<SSL_ERROR_WANT_ASYNC> has been received - see L<SSL_get_error(3)>). Typically
73 L<SSL_get_error(3)>, L<SSL_CTX_set_mode(3)>
H A DSSL_CTX_set_mode.pod106 used to perform cryptographic operations. See L<SSL_get_error(3)>.
132 L<SSL_write(3)>, L<SSL_get_error(3)>
H A DSSL_CTX_set_cert_cb.pod29 L<SSL_get_error(3)> will return SSL_ERROR_WANT_X509_LOOKUP to
H A DSSL_read_early_data.pod111 If SSL_write_early_data() fails you should call L<SSL_get_error(3)> to determine
332 failure call L<SSL_get_error(3)> to determine the correct course of action.
337 event of a failure call L<SSL_get_error(3)> to determine the correct course of
353 L<SSL_get_error(3)>,
/freebsd/crypto/openssl/test/
H A Dsslbuffertest.c105 int ssl_error = SSL_get_error(clientssl, ret); in test_func()
138 int ssl_error = SSL_get_error(serverssl, ret); in test_func()
H A Dbad_dtls_test.c535 || !TEST_int_eq(SSL_get_error(con, ret), SSL_ERROR_WANT_READ) in test_bad_dtls()
542 || !TEST_int_eq(SSL_get_error(con, ret), SSL_ERROR_WANT_READ) in test_bad_dtls()
549 || !TEST_int_eq(SSL_get_error(con, ret), SSL_ERROR_WANT_READ) in test_bad_dtls()
H A Dasynciotest.c349 int ssl_error = SSL_get_error(clientssl, ret); in test_asyncio()
370 int ssl_error = SSL_get_error(serverssl, ret); in test_asyncio()
H A Dsslapitest.c777 || !TEST_int_eq(SSL_get_error(serverssl, -1), in test_client_hello_cb()
913 } else if (!TEST_int_eq(SSL_get_error(clientssl, 0), in test_ccs_change_cipher()
920 } else if (!TEST_int_eq(SSL_get_error(serverssl, 0), in test_ccs_change_cipher()
1092 if (SSL_get_error(serverssl, err) != SSL_ERROR_WANT_READ) { in ping_pong_query()
1101 if (SSL_get_error(clientssl, err) != SSL_ERROR_WANT_READ) { in ping_pong_query()
1384 if (SSL_get_error(serverssl, err) != SSL_ERROR_WANT_WRITE) in execute_test_ktls_sendfile()
1390 if (SSL_get_error(clientssl, err) != SSL_ERROR_WANT_READ) in execute_test_ktls_sendfile()
2796 || !TEST_int_eq(SSL_get_error(serverssl, 0), SSL_ERROR_WANT_WRITE) in test_extra_tickets()
4030 || !TEST_int_eq(SSL_get_error(serverssl, 0), SSL_ERROR_SSL)) in early_data_skip_helper()
4351 || !TEST_int_eq(SSL_get_error(clientssl, 0), SSL_ERROR_SSL) in test_early_data_psk()
[all …]
/freebsd/contrib/libpcap/
H A Dsslutils.c191 int ssl_err = SSL_get_error(ssl, status); // TODO: does it pop the error? in ssl_send()
214 int ssl_err = SSL_get_error(ssl, status); in ssl_recv()
/freebsd/crypto/openssl/ssl/
H A Dbio_ssl.c108 switch (SSL_get_error(ssl, ret)) { in ssl_read()
177 switch (SSL_get_error(ssl, ret)) { in ssl_write()
349 switch (SSL_get_error(ssl, (int)ret)) { in ssl_ctrl()
/freebsd/contrib/dma/
H A Dnet.c103 s = SSL_get_error(config.ssl, n); in send_remote_command()
158 switch (SSL_get_error(config.ssl, rlen)) { in read_remote()
/freebsd/crypto/openssl/apps/
H A Ds_server.c2486 switch (SSL_get_error(con, 0)) { in sv_body()
2682 while (SSL_get_error(con, k) == SSL_ERROR_WANT_X509_LOOKUP) { in sv_body()
2690 switch (SSL_get_error(con, k)) { in sv_body()
2768 while (SSL_get_error(con, i) == SSL_ERROR_WANT_X509_LOOKUP) { in sv_body()
2776 switch (SSL_get_error(con, i)) { in sv_body()
2837 int err = SSL_get_error(con, i); in is_retryable()
2898 && SSL_get_error(con, i) == SSL_ERROR_WANT_X509_LOOKUP in init_ssl_connection()
2911 && SSL_get_error(con, i) == SSL_ERROR_WANT_X509_LOOKUP) { in init_ssl_connection()
3189 SSL_get_error(con, i)); in www_body()
/freebsd/contrib/sendmail/src/
H A Dsfsasl.c734 switch (ssl_err = SSL_get_error(so->con, r))
859 switch (ssl_err = SSL_get_error(so->con, r))
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake.c784 int error = SSL_get_error(peer->ssl, ret); in do_handshake_step()
825 int error = SSL_get_error(peer->ssl, ret); in do_app_data_step()
1016 int error = SSL_get_error(peer->ssl, ret); in do_reneg_setup_step()
1058 int error = SSL_get_error(peer->ssl, ret); in do_shutdown_step()
H A Dssltestlib.c1074 * has SSL_get_error() return the value in the |want| parameter. The connection in create_bare_ssl_connection()
1089 err = SSL_get_error(clientssl, retc); in create_bare_ssl_connection()
1105 err = SSL_get_error(serverssl, rets); in create_bare_ssl_connection()
1178 } else if (!TEST_int_eq(SSL_get_error(clientssl, 0), in shutdown_ssl_connection()
/freebsd/contrib/unbound/dnstap/
H A Dunbound-dnstap-socket.c781 int want = SSL_get_error(data->ssl, r); in ssl_read_bytes()
846 if((r2=SSL_get_error(data->ssl, r)) == SSL_ERROR_ZERO_RETURN) in reply_with_accept()
894 if((r2=SSL_get_error(data->ssl, r)) == SSL_ERROR_ZERO_RETURN) in reply_with_finish()
994 int want = SSL_get_error(data->ssl, r); in tap_handshake()
/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent_openssl.c617 int err = SSL_get_error(bev_ssl->ssl, r); in do_read()
695 int err = SSL_get_error(bev_ssl->ssl, r); in do_write()
1047 int err = SSL_get_error(bev_ssl->ssl, r); in do_handshake()

123