summaryrefslogtreecommitdiff
path: root/lib/ext/srp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext/srp.c')
-rw-r--r--lib/ext/srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/srp.c b/lib/ext/srp.c
index d8a3aae05c..c9fad8dbdf 100644
--- a/lib/ext/srp.c
+++ b/lib/ext/srp.c
@@ -124,7 +124,7 @@ _gnutls_srp_send_params (gnutls_session_t session,
if (session->security_parameters.entity == GNUTLS_CLIENT)
{
gnutls_srp_client_credentials_t cred = (gnutls_srp_client_credentials_t)
- _gnutls_get_cred (session->key, GNUTLS_CRD_SRP, NULL);
+ _gnutls_get_cred (session, GNUTLS_CRD_SRP, NULL);
if (cred == NULL)
return 0;