summaryrefslogtreecommitdiff
path: root/lib/auth_srp.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-14 09:45:20 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-05-14 09:45:20 +0000
commit9746d01d3576874253237e6341724657069d6c37 (patch)
tree79bb7f95a46542d74914d3047a71632727bca88e /lib/auth_srp.h
parentb530091f8591014f3f111dc3d2139a95d7c1b13d (diff)
downloadgnutls-9746d01d3576874253237e6341724657069d6c37.tar.gz
added functions to access authentication data (like username), and
the key exchange algorithm used.
Diffstat (limited to 'lib/auth_srp.h')
-rw-r--r--lib/auth_srp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/auth_srp.h b/lib/auth_srp.h
index 99f73aff1b..046856a026 100644
--- a/lib/auth_srp.h
+++ b/lib/auth_srp.h
@@ -10,3 +10,8 @@ typedef struct {
char* password_file;
char* password_conf_file;
} SRP_SERVER_CREDENTIALS;
+
+/* these structures should not use allocated data */
+typedef struct {
+ char username[256];
+} SRP_AUTH_INFO;