summaryrefslogtreecommitdiff
path: root/lib/gnutls_kx.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-07 16:15:59 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-10-07 16:15:59 +0000
commitbe8d24a955195f64e6ea19a13e880036f4de852d (patch)
treef8b3a36c14982e0a8b8af7779da54f6a9f435b68 /lib/gnutls_kx.c
parent2527a7991229bd084c5d43f6d94216f736915706 (diff)
downloadgnutls-be8d24a955195f64e6ea19a13e880036f4de852d.tar.gz
several cleanups
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r--lib/gnutls_kx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c
index b3e8be5256..8ae2c06d80 100644
--- a/lib/gnutls_kx.c
+++ b/lib/gnutls_kx.c
@@ -561,6 +561,7 @@ int _gnutls_recv_client_certificate( gnutls_session session)
/* certificate was required */
if (optional==MANDATORY_PACKET) {
gnutls_assert();
+ return GNUTLS_E_NO_CERTIFICATE_FOUND;
}
return ret;
}