indentation

This commit is contained in:
Christian Grothoff
2008-10-13 02:03:03 +00:00
parent d8e2c71150
commit 705bb243b0
119 changed files with 2909 additions and 2452 deletions
+10 -10
View File
@@ -70,24 +70,24 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
int ret;
/* assert actual connection cipher is the one negotiated */
if (MHD_get_connection_info (connection, MHD_CONNECTION_INFO_CIPHER_ALGO)->cipher_algorithm
!= MHD_GNUTLS_CIPHER_AES_256_CBC)
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",
strerror (errno));
return -1;
}
if (MHD_get_connection_info (connection, MHD_CONNECTION_INFO_KX_ALGO)->kx_algorithm !=
MHD_GNUTLS_KX_RSA)
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",
strerror (errno));
return -1;
}
if (MHD_get_connection_info (connection, MHD_CONNECTION_INFO_MAC_ALGO)->mac_algorithm !=
MHD_GNUTLS_MAC_SHA1)
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",
strerror (errno));
@@ -104,16 +104,16 @@ query_session_ahc (void *cls, struct MHD_Connection *connection,
return -1;
}
if (MHD_get_connection_info (connection, MHD_CONNECTION_INFO_PROTOCOL)->protocol !=
MHD_GNUTLS_PROTOCOL_SSL3)
if (MHD_get_connection_info (connection, MHD_CONNECTION_INFO_PROTOCOL)->
protocol != MHD_GNUTLS_PROTOCOL_SSL3)
{
fprintf (stderr, "Error: requested compression mismatch. %s\n",
strerror (errno));
return -1;
}
if (MHD_get_connection_info (connection, MHD_CONNECTION_INFO_CERT_TYPE)->certificate_type
!= MHD_GNUTLS_CRT_X509)
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",
strerror (errno));