diff options
Diffstat (limited to 'lib/auth_anon.h')
-rw-r--r-- | lib/auth_anon.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/auth_anon.h b/lib/auth_anon.h index 22ca1c4a33..72eb87ca49 100644 --- a/lib/auth_anon.h +++ b/lib/auth_anon.h @@ -8,19 +8,19 @@ typedef struct { * parameters. */ gnutls_params_function * params_func; -} ANON_SERVER_CREDENTIALS_INT; -#define gnutls_anon_server_credentials ANON_SERVER_CREDENTIALS_INT* +} anon_server_credentials_st; +#define gnutls_anon_server_credentials anon_server_credentials_st* #define gnutls_anon_client_credentials void* -typedef struct ANON_CLIENT_AUTH_INFO_INT { +typedef struct anon_client_auth_info_st { dh_info_st dh; -} *ANON_CLIENT_AUTH_INFO; +} *anon_client_auth_info_t; -typedef ANON_CLIENT_AUTH_INFO ANON_SERVER_AUTH_INFO; +typedef anon_client_auth_info_t anon_server_auth_info_t; -typedef struct ANON_CLIENT_AUTH_INFO_INT ANON_CLIENT_AUTH_INFO_INT; -typedef ANON_CLIENT_AUTH_INFO_INT ANON_SERVER_AUTH_INFO_INT; +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 _gnutls_anon_get_dh_params(const gnutls_anon_server_credentials sc, gnutls_session session); |