diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-06 20:00:47 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-06 20:00:47 +0000 |
commit | 88202507ec10b6ea0a5a1a5a16cb6803342a601f (patch) | |
tree | bd3192163c36bca435a1502d8166ffc59fc871e2 /lib/auth_srp.h | |
parent | 645b83512a867ea3bb5b2cce432c679b0e2021d0 (diff) | |
download | gnutls-88202507ec10b6ea0a5a1a5a16cb6803342a601f.tar.gz |
several fixes. Added client authentication with x509PKI
Diffstat (limited to 'lib/auth_srp.h')
-rw-r--r-- | lib/auth_srp.h | 6 |
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; |