Searched refs:sslErrorCode (Results 1 – 3 of 3) sorted by relevance
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | jniutil.cc | 397 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()
|
D | native_crypto.cc | 7682 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/ |
D | jniutil.h | 273 extern int throwSSLExceptionWithSslErrors(JNIEnv* env, SSL* ssl, int sslErrorCode,
|