summaryrefslogtreecommitdiff
path: root/lib/gnutls_x509.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_x509.c
parente8aed91e7d5eedc1b7da0664e0809f8360df1b2e (diff)
downloadgnutls-2f0a0bc9f3146caea3483f34e356bfcffb381de4.tar.gz
several clean ups
Diffstat (limited to 'lib/gnutls_x509.c')
-rw-r--r--lib/gnutls_x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 7484957899..137c893ed6 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -841,7 +841,7 @@ int _gnutls_x509_cert_verify_peers(gnutls_session session)
cred = _gnutls_get_cred(session->gnutls_key, GNUTLS_CRD_CERTIFICATE, NULL);
if (cred == NULL) {
gnutls_assert();
- return GNUTLS_E_INSUFICIENT_CRED;
+ return GNUTLS_E_INSUFICIENT_CREDENTIALS;
}
if (info->raw_certificate_list == NULL || info->ncerts == 0)