diff options
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r-- | lib/gnutls_kx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c index 21d6e5a5c7..14a4dc52e2 100644 --- a/lib/gnutls_kx.c +++ b/lib/gnutls_kx.c @@ -236,8 +236,10 @@ int _gnutls_send_client_certificate_verify(SOCKET cd, GNUTLS_STATE state) _gnutls_log( "Sending client certificate verify message\n"); #endif data_size = state->gnutls_internals.auth_struct->gnutls_generate_client_cert_vrfy( state, &data); - if (data_size < 0) + if (data_size < 0) { + gnutls_assert(); return data_size; + } ret = _gnutls_send_handshake(cd, state, data, data_size, |