Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 675054 | Differences between
and this patch

Collapse All | Expand All

(-)ekg2-master.orig/plugins/jabber/jabber.c (-2 lines)
Lines 996-1004 Link Here
996
996
997
#ifdef HAVE_LIBGNUTLS
997
#ifdef HAVE_LIBGNUTLS
998
		gnutls_set_default_priority(j->ssl_session);
998
		gnutls_set_default_priority(j->ssl_session);
999
		gnutls_certificate_type_set_priority(j->ssl_session, cert_type_priority);
1000
		gnutls_credentials_set(j->ssl_session, GNUTLS_CRD_CERTIFICATE, j->xcred);
999
		gnutls_credentials_set(j->ssl_session, GNUTLS_CRD_CERTIFICATE, j->xcred);
1001
		gnutls_compression_set_priority(j->ssl_session, comp_type_priority);
1002
1000
1003
		/* we use read/write instead of recv/send */
1001
		/* we use read/write instead of recv/send */
1004
		gnutls_transport_set_pull_function(j->ssl_session, (gnutls_pull_func)read);
1002
		gnutls_transport_set_pull_function(j->ssl_session, (gnutls_pull_func)read);
(-)ekg2-master.orig/remote/remote.c (-2 lines)
Lines 235-243 Link Here
235
	/* gnutls_record_set_max_size(ssl, 1024); */		/* XXX */
235
	/* gnutls_record_set_max_size(ssl, 1024); */		/* XXX */
236
236
237
	gnutls_set_default_priority(ssl);
237
	gnutls_set_default_priority(ssl);
238
	gnutls_certificate_type_set_priority(ssl, cert_type_priority);
239
	gnutls_credentials_set(ssl, GNUTLS_CRD_CERTIFICATE, ssl_xcred);
238
	gnutls_credentials_set(ssl, GNUTLS_CRD_CERTIFICATE, ssl_xcred);
240
	gnutls_compression_set_priority(ssl, comp_type_priority);
241
239
242
	/* we use read/write instead of recv/send */
240
	/* we use read/write instead of recv/send */
243
	gnutls_transport_set_pull_function(ssl, (gnutls_pull_func) ekg_gnutls_read);
241
	gnutls_transport_set_pull_function(ssl, (gnutls_pull_func) ekg_gnutls_read);

Return to bug 675054