From: Nikos Mavrogiannopoulos Date: Wed, 1 Nov 2000 23:13:06 +0000 (+0000) Subject: cvs should stop messing with MY files X-Git-Tag: gnutls0-0-4~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a44b3ef158797335f7fc06596bcaeb73897c001;p=thirdparty%2Fgnutls.git cvs should stop messing with MY files --- diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c index 7698747d61..247efa250d 100644 --- a/lib/gnutls_kx.c +++ b/lib/gnutls_kx.c @@ -208,8 +208,6 @@ int _gnutls_send_client_kx_message(int cd, GNUTLS_STATE state) return ret; } - -<<<<<<< gnutls_kx.c /* This is the function for the client to send the certificate * verify message * FIXME: this function does almost nothing except sending shit to @@ -248,44 +246,6 @@ int _gnutls_send_client_certificate_verify(int cd, GNUTLS_STATE state) } -======= -/* This is the function for the client to send the certificate - * verify message - */ -int _gnutls_send_client_certificate_verify(int cd, GNUTLS_STATE state) -{ - uint8 *data; - int ret = 0; -#ifdef HARD_DEBUG - fprintf(stderr, "Sending client certificate verify message\n"); -#endif - switch (_gnutls_cipher_suite_get_kx_algo - (state->gnutls_internals.current_cipher_suite)) { - case GNUTLS_KX_DHE_DSS: - data=gnutls_malloc(20); - ret = - _gnutls_send_handshake(cd, state, data, - 20, - GNUTLS_CERTIFICATE_VERIFY); - gnutls_free(data); - break; - case GNUTLS_KX_DHE_RSA: - data=gnutls_malloc(20+16); - ret = - _gnutls_send_handshake(cd, state, data, - 20+16, - GNUTLS_CERTIFICATE_VERIFY); - gnutls_free(data); - break; - default: - ret = 0; - } - - return ret; -} - - ->>>>>>> 1.16 int _gnutls_recv_server_kx_message(int cd, GNUTLS_STATE state) { KXAlgorithm algorithm; @@ -435,11 +395,7 @@ int _gnutls_recv_client_kx_message(int cd, GNUTLS_STATE state) #endif _n_Y = n_Y; gcry_mpi_scan(&state->gnutls_internals.client_Y, -<<<<<<< gnutls_kx.c GCRYMPI_FMT_USG, &data[2], &_n_Y); -======= - GCRYMPI_FMT_USG, &data[3], &_n_Y); ->>>>>>> 1.16 state->gnutls_internals.KEY = gnutls_calc_dh_key(state-> gnutls_internals.client_Y,