gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7602 - libmicrohttpd/src/testcurl/https


From: gnunet
Subject: [GNUnet-SVN] r7602 - libmicrohttpd/src/testcurl/https
Date: Sun, 24 Aug 2008 13:21:50 -0600 (MDT)

Author: grothoff
Date: 2008-08-24 13:21:50 -0600 (Sun, 24 Aug 2008)
New Revision: 7602

Modified:
   libmicrohttpd/src/testcurl/https/mhds_session_info_test.c
   libmicrohttpd/src/testcurl/https/tls_authentication_test.c
Log:
compile

Modified: libmicrohttpd/src/testcurl/https/mhds_session_info_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/mhds_session_info_test.c   2008-08-24 
19:16:20 UTC (rev 7601)
+++ libmicrohttpd/src/testcurl/https/mhds_session_info_test.c   2008-08-24 
19:21:50 UTC (rev 7602)
@@ -69,7 +69,7 @@
   int ret;
 
   /* assert actual connection cipher is the one negotiated */
-  if (MHD_get_session_info (connection, 
MHD_CONNECTION_INFO_CIPHER_ALGO)->cipher_algorithm
+  if (MHD_get_connection_info (connection, 
MHD_CONNECTION_INFO_CIPHER_ALGO)->cipher_algorithm
       != MHD_GNUTLS_CIPHER_AES_256_CBC)
     {
       fprintf (stderr, "Error: requested cipher mismatch. %s\n",
@@ -77,7 +77,7 @@
       return -1;
     }
 
-  if (MHD_get_session_info (connection, 
MHD_CONNECTION_INFO_KX_ALGO)->kx_algorithm !=
+  if (MHD_get_connection_info (connection, 
MHD_CONNECTION_INFO_KX_ALGO)->kx_algorithm !=
       MHD_GNUTLS_KX_RSA)
     {
       fprintf (stderr, "Error: requested key exchange mismatch. %s\n",
@@ -85,7 +85,7 @@
       return -1;
     }
 
-  if (MHD_get_session_info (connection, 
MHD_CONNECTION_INFO_MAC_ALGO)->mac_algorithm !=
+  if (MHD_get_connection_info (connection, 
MHD_CONNECTION_INFO_MAC_ALGO)->mac_algorithm !=
       MHD_GNUTLS_MAC_SHA1)
     {
       fprintf (stderr, "Error: requested mac algorithm mismatch. %s\n",
@@ -93,7 +93,7 @@
       return -1;
     }
 
-  if (MHD_get_session_info
+  if (MHD_get_connection_info
       (connection,
        MHD_CONNECTION_INFO_COMPRESSION_METHOD)->compression_method !=
       MHD_GNUTLS_COMP_NULL)
@@ -103,7 +103,7 @@
       return -1;
     }
 
-  if (MHD_get_session_info (connection, 
MHD_CONNECTION_INFO_PROTOCOL)->protocol !=
+  if (MHD_get_connection_info (connection, 
MHD_CONNECTION_INFO_PROTOCOL)->protocol !=
       MHD_GNUTLS_SSL3)
     {
       fprintf (stderr, "Error: requested compression mismatch. %s\n",
@@ -111,7 +111,7 @@
       return -1;
     }
 
-  if (MHD_get_session_info (connection, 
MHD_CONNECTION_INFO_CERT_TYPE)->certificate_type
+  if (MHD_get_connection_info (connection, 
MHD_CONNECTION_INFO_CERT_TYPE)->certificate_type
       != MHD_GNUTLS_CRT_X509)
     {
       fprintf (stderr, "Error: requested certificate mismatch. %s\n",
@@ -119,7 +119,7 @@
       return -1;
     }
 
-  if (MHD_get_session_info
+  if (MHD_get_connection_info
       (connection,
        MHD_CONNECTION_INFO_CREDENTIALS_TYPE)->credentials_type !=
       MHD_GNUTLS_CRD_CERTIFICATE)

Modified: libmicrohttpd/src/testcurl/https/tls_authentication_test.c
===================================================================
--- libmicrohttpd/src/testcurl/https/tls_authentication_test.c  2008-08-24 
19:16:20 UTC (rev 7601)
+++ libmicrohttpd/src/testcurl/https/tls_authentication_test.c  2008-08-24 
19:21:50 UTC (rev 7602)
@@ -309,8 +309,6 @@
   FILE *test_fd;
   unsigned int errorCount = 0;
 
-  MHD_gtls_global_set_log_level (DEBUG_GNUTLS_LOG_LEVEL);
-
   if (curl_check_version (MHD_REQ_CURL_VERSION))
     {
       return -1;





reply via email to

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