gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 02/02: HTTPS tests: disable 3DES testing on


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 02/02: HTTPS tests: disable 3DES testing on GnuTLS > 3.6.0 since it is disabled by default in GnuTLS
Date: Tue, 31 Oct 2017 13:55:44 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit ad6ad0ad5bfa80f3d1954f434376331b1cb0941e
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Tue Oct 31 15:54:39 2017 +0300

    HTTPS tests: disable 3DES testing on GnuTLS > 3.6.0 since it is disabled
    by default in GnuTLS
---
 src/testcurl/https/test_https_get.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/testcurl/https/test_https_get.c 
b/src/testcurl/https/test_https_get.c
index 7573315d..51536385 100644
--- a/src/testcurl/https/test_https_get.c
+++ b/src/testcurl/https/test_https_get.c
@@ -159,8 +159,13 @@ main (int argc, char *const *argv)
 
   errorCount +=
     test_secure_get (NULL, aes256_sha_tlsv1, CURL_SSLVERSION_TLSv1);
+#if GNUTLS_VERSION_NUMBER < 0x030600
+  /* '3DES' is disabled by default on GnuTLS > 3.6.0 */
   errorCount +=
     test_cipher_option (NULL, des_cbc3_sha_tlsv1, CURL_SSLVERSION_TLSv1);
+#else  /* GNUTLS_VERSION_NUMBER >= 0x030600 */
+  (void)des_cbc3_sha_tlsv1;
+#endif /* GNUTLS_VERSION_NUMBER >= 0x030600 */
   print_test_result (errorCount, argv[0]);
 
   curl_global_cleanup ();

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]