diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-11-19 12:01:54 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-11-19 12:01:54 +0000 |
commit | fe1b1d18fa42e2162cc58da5bcc262d07dfb9b9b (patch) | |
tree | f920ac4c29af6e4536d6423a3fb19cddb498a3c7 /lib/gnutls_v2_compat.c | |
parent | 568387cb1dc0f79a7e0bb6106e0ad60cd8071453 (diff) | |
download | gnutls-fe1b1d18fa42e2162cc58da5bcc262d07dfb9b9b.tar.gz |
Added certificate authenticated SRP cipher suites.
Diffstat (limited to 'lib/gnutls_v2_compat.c')
-rw-r--r-- | lib/gnutls_v2_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_v2_compat.c b/lib/gnutls_v2_compat.c index 8271672719..01225468f1 100644 --- a/lib/gnutls_v2_compat.c +++ b/lib/gnutls_v2_compat.c @@ -156,7 +156,7 @@ int _gnutls_read_client_hello_v2(gnutls_session session, opaque * data, /* check if the credentials (username, public key etc. are ok) */ - if (_gnutls_get_kx_cred( session->key, _gnutls_cipher_suite_get_kx_algo(session->security_parameters.current_cipher_suite), &err) == NULL && err != 0) { + if (_gnutls_get_kx_cred( session, _gnutls_cipher_suite_get_kx_algo(session->security_parameters.current_cipher_suite), &err) == NULL && err != 0) { gnutls_assert(); return GNUTLS_E_INSUFICIENT_CREDENTIALS; } |