diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-19 14:25:44 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-19 14:25:44 +0000 |
commit | 64076d11d87fe35153cd8d5a9aacee91e4fea339 (patch) | |
tree | 52704a570c9b78809eff5fe46baa3c39cebeda12 /lib/auth_srp.c | |
parent | 4128d9c2a1441223f149de8856d0461d96f04eb4 (diff) | |
download | gnutls-64076d11d87fe35153cd8d5a9aacee91e4fea339.tar.gz |
better support for buffered read and several cleanups
Diffstat (limited to 'lib/auth_srp.c')
-rw-r--r-- | lib/auth_srp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth_srp.c b/lib/auth_srp.c index 11cd3cef95..8a4977f1fa 100644 --- a/lib/auth_srp.c +++ b/lib/auth_srp.c @@ -86,7 +86,7 @@ int gen_srp_server_hello(GNUTLS_STATE state, opaque ** data) state->gnutls_key->auth_info_size = sizeof(SRP_SERVER_AUTH_INFO_INT); username = ((SRP_SERVER_AUTH_INFO)state->gnutls_key->auth_info)->username; - strcpy( username, state->gnutls_internals.srp_username); + strcpy( username, state->security_parameters.extensions.srp_username); pwd_entry = _gnutls_srp_pwd_read_entry( state->gnutls_key, username, &err); |