From 2f0a0bc9f3146caea3483f34e356bfcffb381de4 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 1 Sep 2002 10:55:52 +0000 Subject: several clean ups --- lib/gnutls_x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gnutls_x509.c') 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) -- cgit v1.2.1