Lines Matching refs:sslError
6964 int sslError = SSL_get_error(ssl, ret);
6965 JNI_TRACE("ssl=%p NativeCrypto_SSL_do_handshake ret=%d errno=%d sslError=%d timeout_millis=%d",
6966 ssl, ret, errno, sslError, timeout_millis);
6976 if (sslError == SSL_ERROR_WANT_READ || sslError == SSL_ERROR_WANT_WRITE) {
6978 int selectResult = sslSelect(env, sslError, fdObject, appData, timeout_millis);
7012 int sslError = SSL_get_error(ssl, ret);
7013 if (sslError == SSL_ERROR_NONE || (sslError == SSL_ERROR_SYSCALL && errno == 0)) {
7016 throwSSLExceptionWithSslErrors(env, ssl, sslError, "SSL handshake terminated");
7029 int sslError = SSL_get_error(ssl, ret);
7030 throwSSLExceptionWithSslErrors(env, ssl, sslError, "SSL handshake aborted");
7058 int sslError = SSL_get_error(ssl, ret);
7059 throwSSLExceptionWithSslErrors(env, ssl, sslError,
7193 int sslError = SSL_ERROR_NONE;
7195 sslError = SSL_get_error(ssl, result);
7198 JNI_TRACE("ssl=%p sslRead SSL_read result=%d sslError=%d", ssl, result, sslError);
7216 if (sslError == SSL_ERROR_WANT_READ || sslError == SSL_ERROR_WANT_WRITE) {
7222 switch (sslError) {
7236 int selectResult = sslSelect(env, sslError, fdObject, appData, read_timeout_millis);
7242 *sslErrorCode = sslError;
7273 *sslErrorCode = sslError;
7396 int sslError = SSL_ERROR_NONE;
7398 sslError = SSL_get_error(ssl, result);
7401 JNI_TRACE("ssl=%p sslWrite SSL_write result=%d sslError=%d left=%d",
7402 ssl, result, sslError, ssl->s3->wbuf.left);
7420 if (sslError == SSL_ERROR_WANT_READ || sslError == SSL_ERROR_WANT_WRITE) {
7426 switch (sslError) {
7444 int selectResult = sslSelect(env, sslError, fdObject, appData, write_timeout_millis);
7450 *sslErrorCode = sslError;
7481 *sslErrorCode = sslError;
7635 int sslError = SSL_get_error(ssl, ret);
7636 throwSSLExceptionWithSslErrors(env, ssl, sslError, "SSL shutdown failed");