summaryrefslogtreecommitdiff
path: root/lib/gnutls_v2_compat.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-01 10:55:52 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-09-01 10:55:52 +0000
commit2f0a0bc9f3146caea3483f34e356bfcffb381de4 (patch)
treea49cc53cd436930b5f1babfca6f3f2c29fb62266 /lib/gnutls_v2_compat.c
parente8aed91e7d5eedc1b7da0664e0809f8360df1b2e (diff)
downloadgnutls-2f0a0bc9f3146caea3483f34e356bfcffb381de4.tar.gz
several clean ups
Diffstat (limited to 'lib/gnutls_v2_compat.c')
-rw-r--r--lib/gnutls_v2_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_v2_compat.c b/lib/gnutls_v2_compat.c
index ac4576b1f4..c4fee27f9c 100644
--- a/lib/gnutls_v2_compat.c
+++ b/lib/gnutls_v2_compat.c
@@ -158,7 +158,7 @@ int _gnutls_read_client_hello_v2(gnutls_session session, opaque * data,
*/
if (_gnutls_get_kx_cred( session->gnutls_key, _gnutls_cipher_suite_get_kx_algo(session->security_parameters.current_cipher_suite), &err) == NULL && err != 0) {
gnutls_assert();
- return GNUTLS_E_INSUFICIENT_CRED;
+ return GNUTLS_E_INSUFICIENT_CREDENTIALS;
}
/* set the MOD_AUTH_STRUCT to the appropriate struct