Searched refs:sslErrorCode (Results 1 – 3 of 3) sorted by relevance
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | jniutil.cc | 409 int throwSSLExceptionWithSslErrors(JNIEnv* env, SSL* ssl, int sslErrorCode, const char* message, in throwSSLExceptionWithSslErrors() argument 417 switch (sslErrorCode) { in throwSSLExceptionWithSslErrors() 466 if (sslErrorCode == SSL_ERROR_NONE || sslErrorCode == SSL_ERROR_SSL) { in throwSSLExceptionWithSslErrors() 494 } else if (sslErrorCode == SSL_ERROR_SYSCALL) { in throwSSLExceptionWithSslErrors() 500 } else if (sslErrorCode > SSL_ERROR_WANT_ACCEPT) { in throwSSLExceptionWithSslErrors() 501 if (asprintf(&str, ", error code is %d", sslErrorCode) >= 0) { in throwSSLExceptionWithSslErrors() 508 if (sslErrorCode == SSL_ERROR_SSL) { in throwSSLExceptionWithSslErrors()
|
D | native_crypto.cc | 7166 int sslErrorCode = SSL_get_error(ssl, ret); in NativeCrypto_SSL_use_psk_identity_hint() local 7167 conscrypt::jniutil::throwSSLExceptionWithSslErrors(env, ssl, sslErrorCode, in NativeCrypto_SSL_use_psk_identity_hint() 7378 int sslErrorCode = SSL_get_error(ssl, ret); in NativeCrypto_SSL_set_session() local 7379 if (sslErrorCode != SSL_ERROR_ZERO_RETURN) { in NativeCrypto_SSL_set_session() 7380 conscrypt::jniutil::throwSSLExceptionWithSslErrors(env, ssl, sslErrorCode, in NativeCrypto_SSL_set_session()
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
D | jniutil.h | 269 extern int throwSSLExceptionWithSslErrors(JNIEnv* env, SSL* ssl, int sslErrorCode,
|