summaryrefslogtreecommitdiff
path: root/lib/auth/srp_passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth/srp_passwd.c')
-rw-r--r--lib/auth/srp_passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/auth/srp_passwd.c b/lib/auth/srp_passwd.c
index 6902be3d26..6cd3f7e524 100644
--- a/lib/auth/srp_passwd.c
+++ b/lib/auth/srp_passwd.c
@@ -418,8 +418,8 @@ static int _randomize_pwd_entry(SRP_PWD_ENTRY * entry,
return GNUTLS_E_MEMORY_ERROR;
}
- ret = _gnutls_mac_init(&ctx, me, sc->fake_salt_seed.data,
- sc->fake_salt_seed.size);
+ ret = _gnutls_mac_init(&ctx, me, sc->fake_salt_seed,
+ sc->fake_salt_seed_size);
if (ret < 0) {
gnutls_assert();