Home
last modified time | relevance | path

Searched refs:sslErrorCode (Results 1 – 2 of 2) sorted by relevance

/external/conscrypt/common/src/jni/main/include/
DErrors.h365 JNIEnv* env, SSL* ssl, int sslErrorCode, const char* message,
373 switch (sslErrorCode) {
422 if (sslErrorCode == SSL_ERROR_NONE || sslErrorCode == SSL_ERROR_SSL) {
449 } else if (sslErrorCode == SSL_ERROR_SYSCALL) {
455 } else if (sslErrorCode > SSL_ERROR_WANT_ACCEPT) {
456 if (asprintf(&str, ", error code is %d", sslErrorCode) >= 0) {
463 if (sslErrorCode == SSL_ERROR_SSL) {
/external/conscrypt/common/src/jni/main/cpp/
DNativeCrypto.cpp6610 int sslErrorCode = SSL_get_error(ssl, ret); in NativeCrypto_SSL_use_psk_identity_hint() local
6611 … Errors::throwSSLExceptionWithSslErrors(env, ssl, sslErrorCode, "Failed to set PSK identity hint"); in NativeCrypto_SSL_use_psk_identity_hint()
6820 int sslErrorCode = SSL_get_error(ssl, ret); in NativeCrypto_SSL_set_session() local
6821 if (sslErrorCode != SSL_ERROR_ZERO_RETURN) { in NativeCrypto_SSL_set_session()
6822 Errors::throwSSLExceptionWithSslErrors(env, ssl, sslErrorCode, "SSL session set"); in NativeCrypto_SSL_set_session()