summaryrefslogtreecommitdiff
path: root/lib/auth_anon.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth_anon.c')
-rw-r--r--lib/auth_anon.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/auth_anon.c b/lib/auth_anon.c
index 93446ba9b3..fce66d13fd 100644
--- a/lib/auth_anon.c
+++ b/lib/auth_anon.c
@@ -50,12 +50,12 @@ const mod_auth_st anon_auth_struct = {
NULL,
NULL,
gen_anon_server_kx,
- _gnutls_gen_dh_common_client_kx, /* this can be shared */
+ _gnutls_gen_dh_common_client_kx, /* this can be shared */
NULL,
NULL,
NULL,
- NULL, /* certificate */
+ NULL, /* certificate */
proc_anon_server_kx,
proc_anon_client_kx,
NULL,
@@ -93,7 +93,7 @@ gen_anon_server_kx (gnutls_session_t session, opaque ** data)
if ((ret =
_gnutls_auth_info_set (session, GNUTLS_CRD_ANON,
- sizeof (anon_auth_info_st), 1)) < 0)
+ sizeof (anon_auth_info_st), 1)) < 0)
{
gnutls_assert ();
return ret;
@@ -113,7 +113,7 @@ gen_anon_server_kx (gnutls_session_t session, opaque ** data)
static int
proc_anon_client_kx (gnutls_session_t session, opaque * data,
- size_t _data_size)
+ size_t _data_size)
{
gnutls_anon_server_credentials_t cred;
int ret;
@@ -149,7 +149,7 @@ proc_anon_client_kx (gnutls_session_t session, opaque * data,
int
proc_anon_server_kx (gnutls_session_t session, opaque * data,
- size_t _data_size)
+ size_t _data_size)
{
int ret;
@@ -157,7 +157,7 @@ proc_anon_server_kx (gnutls_session_t session, opaque * data,
/* set auth_info */
if ((ret =
_gnutls_auth_info_set (session, GNUTLS_CRD_ANON,
- sizeof (anon_auth_info_st), 1)) < 0)
+ sizeof (anon_auth_info_st), 1)) < 0)
{
gnutls_assert ();
return ret;