[glib-networking/enable-openssl-tests] tests: use the interaction error with openssl
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/enable-openssl-tests] tests: use the interaction error with openssl
- Date: Fri, 17 May 2019 14:45:32 +0000 (UTC)
commit d75dc2de93c4bfe08d4113905cf5ec801c081f22
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Fri May 17 16:44:53 2019 +0200
tests: use the interaction error with openssl
tls/tests/connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 3588484..192cde5 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -1259,7 +1259,7 @@ test_client_auth_request_fail (TestConnection *test,
g_main_loop_run (test->loop);
wait_until_server_finished (test);
-#if OPENSSL_VERSION_NUMBER < 0x10101000L || defined (LIBRESSL_VERSION_NUMBER)
+#if BACKEND_IS_OPENSSL
/* FIXME: G_FILE_ERROR_ACCES is not a very great error to get here. */
g_assert_error (test->read_error, G_FILE_ERROR, G_FILE_ERROR_ACCES);
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]