Home
last modified time | relevance | path

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

/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc397 int throwSSLExceptionWithSslErrors(JNIEnv* env, SSL* ssl, int sslErrorCode, const char* message, in throwSSLExceptionWithSslErrors() argument
405 switch (sslErrorCode) { in throwSSLExceptionWithSslErrors()
454 if (sslErrorCode == SSL_ERROR_NONE || sslErrorCode == SSL_ERROR_SSL) { in throwSSLExceptionWithSslErrors()
482 } else if (sslErrorCode == SSL_ERROR_SYSCALL) { in throwSSLExceptionWithSslErrors()
488 } else if (sslErrorCode > SSL_ERROR_WANT_ACCEPT) { in throwSSLExceptionWithSslErrors()
489 if (asprintf(&str, ", error code is %d", sslErrorCode) >= 0) { in throwSSLExceptionWithSslErrors()
496 if (sslErrorCode == SSL_ERROR_SSL) { in throwSSLExceptionWithSslErrors()
Dnative_crypto.cc7682 int sslErrorCode = SSL_get_error(ssl, ret); in NativeCrypto_SSL_use_psk_identity_hint() local
7683 conscrypt::jniutil::throwSSLExceptionWithSslErrors(env, ssl, sslErrorCode, in NativeCrypto_SSL_use_psk_identity_hint()
7902 int sslErrorCode = SSL_get_error(ssl, ret); in NativeCrypto_SSL_set_session() local
7903 if (sslErrorCode != SSL_ERROR_ZERO_RETURN) { in NativeCrypto_SSL_set_session()
7904 conscrypt::jniutil::throwSSLExceptionWithSslErrors(env, ssl, sslErrorCode, in NativeCrypto_SSL_set_session()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Djniutil.h273 extern int throwSSLExceptionWithSslErrors(JNIEnv* env, SSL* ssl, int sslErrorCode,