summaryrefslogtreecommitdiff
path: root/lib/auth_srp.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-08-06 20:00:47 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-08-06 20:00:47 +0000
commit88202507ec10b6ea0a5a1a5a16cb6803342a601f (patch)
treebd3192163c36bca435a1502d8166ffc59fc871e2 /lib/auth_srp.h
parent645b83512a867ea3bb5b2cce432c679b0e2021d0 (diff)
downloadgnutls-88202507ec10b6ea0a5a1a5a16cb6803342a601f.tar.gz
several fixes. Added client authentication with x509PKI
Diffstat (limited to 'lib/auth_srp.h')
-rw-r--r--lib/auth_srp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/auth_srp.h b/lib/auth_srp.h
index 0d182daa78..1f7a597734 100644
--- a/lib/auth_srp.h
+++ b/lib/auth_srp.h
@@ -15,9 +15,11 @@ typedef struct {
#define SRP_SERVER_CREDENTIALS SRP_SERVER_CREDENTIALS_INT*
/* these structures should not use allocated data */
-typedef struct {
+typedef struct SRP_SERVER_AUTH_INFO_INT {
char username[256];
-} SRP_SERVER_AUTH_INFO;
+} *SRP_SERVER_AUTH_INFO;
int proc_srp_server_hello(GNUTLS_STATE state, const opaque * data, int data_size);
int gen_srp_server_hello(GNUTLS_STATE state, opaque ** data);
+
+typedef struct SRP_SERVER_AUTH_INFO_INT SRP_SERVER_AUTH_INFO_INT;