diff options
Diffstat (limited to 'lib/ext_srp.c')
-rw-r--r-- | lib/ext_srp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext_srp.c b/lib/ext_srp.c index 3b5222bcc0..37d9ed6ef7 100644 --- a/lib/ext_srp.c +++ b/lib/ext_srp.c @@ -40,7 +40,7 @@ int _gnutls_srp_recv_params( GNUTLS_STATE state, const opaque* data, int data_si int _gnutls_srp_send_params( GNUTLS_STATE state, opaque** data) { /* this function sends the client extension data (username) */ if (state->security_parameters.entity == GNUTLS_CLIENT) { - SRP_CLIENT_CREDENTIALS* cred = _gnutls_get_kx_cred( state->gnutls_key, GNUTLS_KX_SRP); + SRP_CLIENT_CREDENTIALS* cred = _gnutls_get_kx_cred( state->gnutls_key, GNUTLS_KX_SRP, NULL); (*data) = NULL; |