summaryrefslogtreecommitdiff
path: root/lib/auth_anon.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth_anon.h')
-rw-r--r--lib/auth_anon.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/lib/auth_anon.h b/lib/auth_anon.h
index a447134029..1f7ae397ae 100644
--- a/lib/auth_anon.h
+++ b/lib/auth_anon.h
@@ -26,20 +26,23 @@
#include <gnutls_auth.h>
#include <auth_dh_common.h>
-typedef struct gnutls_anon_server_credentials_st {
- gnutls_dh_params_t dh_params;
- /* this callback is used to retrieve the DH or RSA
- * parameters.
- */
- gnutls_params_function *params_func;
+typedef struct gnutls_anon_server_credentials_st
+{
+ gnutls_dh_params_t dh_params;
+ /* this callback is used to retrieve the DH or RSA
+ * parameters.
+ */
+ gnutls_params_function *params_func;
} anon_server_credentials_st;
-typedef struct gnutls_anon_client_credentials_st {
+typedef struct gnutls_anon_client_credentials_st
+{
int dummy;
} anon_client_credentials_st;
-typedef struct anon_client_auth_info_st {
- dh_info_st dh;
+typedef struct anon_client_auth_info_st
+{
+ dh_info_st dh;
} *anon_client_auth_info_t;
typedef anon_client_auth_info_t anon_server_auth_info_t;
@@ -48,7 +51,6 @@ typedef anon_client_auth_info_t anon_auth_info_t;
typedef struct anon_client_auth_info_st anon_client_auth_info_st;
typedef anon_client_auth_info_st anon_server_auth_info_st;
-gnutls_dh_params_t _gnutls_anon_get_dh_params(const
- gnutls_anon_server_credentials_t
- sc,
- gnutls_session_t session);
+gnutls_dh_params_t _gnutls_anon_get_dh_params (const
+ gnutls_anon_server_credentials_t
+ sc, gnutls_session_t session);