documenting all enums, functions and structs, removing support for key/cert files

This commit is contained in:
Christian Grothoff
2008-09-12 20:47:06 +00:00
parent 824628a22f
commit cfde43ff7d
19 changed files with 372 additions and 446 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
}
if (MHD_get_connection_info (connection, MHD_CONNECTION_INFO_PROTOCOL)->protocol !=
MHD_GNUTLS_SSL3)
MHD_GNUTLS_PROTOCOL_SSL3)
{
fprintf (stderr, "Error: requested compression mismatch. %s\n",
strerror (errno));
+1 -13
View File
@@ -356,8 +356,6 @@ main (int argc, char *const *argv)
{
FILE *test_fd;
unsigned int errorCount = 0;
char * cur_dir;
char cert_path[255], key_path[255];
MHD_gtls_global_set_log_level (DEBUG_GNUTLS_LOG_LEVEL);
@@ -379,7 +377,7 @@ main (int argc, char *const *argv)
}
int mac[] = { MHD_GNUTLS_MAC_SHA1, 0 };
int p[] = { MHD_GNUTLS_SSL3, 0 };
int p[] = { MHD_GNUTLS_PROTOCOL_SSL3, 0 };
int cipher[] = { MHD_GNUTLS_CIPHER_3DES_CBC, 0 };
int kx[] = { MHD_GNUTLS_KX_ANON_DH, 0 };
@@ -390,16 +388,6 @@ main (int argc, char *const *argv)
MHD_OPTION_HTTPS_MEM_CERT, srv_self_signed_cert_pem,
MHD_OPTION_END);
cur_dir = get_current_dir_name ();
sprintf (cert_path, "%s/%s", cur_dir, "cert.pem");
sprintf (key_path, "%s/%s", cur_dir, "key.pem");
errorCount +=
test_wrap ("file certificates", &test_https_transfer, test_fd,
"AES256-SHA", CURL_SSLVERSION_TLSv1, MHD_OPTION_HTTPS_CERT_PATH, cert_path,
MHD_OPTION_HTTPS_KEY_PATH, key_path, MHD_OPTION_END);
free (cur_dir);
errorCount +=
test_wrap ("protocol_version", &test_protocol_version, test_fd,
"AES256-SHA", CURL_SSLVERSION_TLSv1, MHD_OPTION_HTTPS_MEM_KEY,