diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-10-21 11:36:45 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-10-21 11:36:45 +0000 |
commit | c523488f0f38b9eeb6106a429d0902b1837a5ea1 (patch) | |
tree | ac2854643d1c85c97f9172d1ef150fd47c19f2cd /lib/gnutls_kx.c | |
parent | 919fa2a0e6dece2d134eb12647e22cd186b70a85 (diff) | |
download | gnutls-c523488f0f38b9eeb6106a429d0902b1837a5ea1.tar.gz |
several cleanups
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r-- | lib/gnutls_kx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c index 732e232658..cc41272698 100644 --- a/lib/gnutls_kx.c +++ b/lib/gnutls_kx.c @@ -502,9 +502,10 @@ int _gnutls_recv_client_certificate(SOCKET cd, GNUTLS_STATE state) return 0; } /* certificate was required */ - if (optional==MANDATORY_PACKET) + if (optional==MANDATORY_PACKET) { gnutls_send_alert( cd, state, GNUTLS_FATAL, GNUTLS_BAD_CERTIFICATE); - gnutls_assert(); + gnutls_assert(); + } return ret; } |