1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net-im/gloox/files/patch-src__tlsgnutlsclient.cpp
Danilo Egea Gondolfo 4238ea2079 - Update from 1.0 to 1.0.9
- Add LICENSE

PR:		ports/185342
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2014-02-19 23:30:13 +00:00

25 lines
507 B
C++

--- src/tlsgnutlsclient.cpp.orig
+++ src/tlsgnutlsclient.cpp
@@ -18,12 +18,6 @@
#include <errno.h>
-#ifdef HAVE_PTHREAD
-extern "C" {
-GCRY_THREAD_OPTION_PTHREAD_IMPL;
-}
-#endif
-
namespace gloox
{
@@ -48,8 +42,6 @@
const std::string& /*clientCerts*/,
const StringList& /*cacerts*/ )
{
- gcry_control( GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread );
-
const int protocolPriority[] = {
#ifdef GNUTLS_TLS1_2
GNUTLS_TLS1_2,