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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/auth_anon.h b/lib/auth_anon.h
index e7104aa5f3..6dc54f1b13 100644
--- a/lib/auth_anon.h
+++ b/lib/auth_anon.h
@@ -26,16 +26,17 @@
#include <gnutls_auth.h>
#include <auth_dh_common.h>
-typedef struct {
+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;
-#define gnutls_anon_server_credentials_t anon_server_credentials_st*
-#define gnutls_anon_client_credentials_t void*
+typedef struct gnutls_anon_client_credentials_st {
+ int dummy;
+} anon_client_credentials_st;
typedef struct anon_client_auth_info_st {
dh_info_st dh;