summaryrefslogtreecommitdiff
path: root/lib/auth_srp.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-08-05 20:40:11 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-08-05 20:40:11 +0000
commit8fa8ed88631f45c133308f6db731520830713fb9 (patch)
tree14420c4d1933724c25ed2ef815d7b7d71c2521f2 /lib/auth_srp.h
parent93330469787a8b39a6f8c82f65305c7625487806 (diff)
downloadgnutls-8fa8ed88631f45c133308f6db731520830713fb9.tar.gz
several cleanups and updates in the handshake protocol implementation
iolaiiiiiCVS: ----------------------------------------------------------------------
Diffstat (limited to 'lib/auth_srp.h')
-rw-r--r--lib/auth_srp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/auth_srp.h b/lib/auth_srp.h
index ea7e683fe0..0d182daa78 100644
--- a/lib/auth_srp.h
+++ b/lib/auth_srp.h
@@ -1,5 +1,4 @@
-/* this is not to be included by gnutls_anon.c */
-extern MOD_AUTH_STRUCT srp_auth_struct;
+#include <gnutls_auth.h>
typedef struct {
char* username;
@@ -20,5 +19,5 @@ typedef struct {
char username[256];
} SRP_SERVER_AUTH_INFO;
-int gen_srp_server_hello(GNUTLS_KEY, opaque **);
-int proc_srp_server_hello(GNUTLS_KEY, const opaque *, int);
+int proc_srp_server_hello(GNUTLS_STATE state, const opaque * data, int data_size);
+int gen_srp_server_hello(GNUTLS_STATE state, opaque ** data);