aboutsummaryrefslogtreecommitdiff
path: root/net-im/climm
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-16 21:40:45 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-16 21:40:45 +0000
commit011874a373e3ba85b49621c3b316bd2e6d329638 (patch)
tree2bc656a0fedfed0834b75ab14a28954c426ad1d2 /net-im/climm
parentddf2893c0c3de1248ed3ca434f95df986e3b4397 (diff)
downloadports-011874a373e3ba85b49621c3b316bd2e6d329638.tar.gz
ports-011874a373e3ba85b49621c3b316bd2e6d329638.zip
Notes
Diffstat (limited to 'net-im/climm')
-rw-r--r--net-im/climm/files/patch-src_util_ssl.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-im/climm/files/patch-src_util_ssl.c b/net-im/climm/files/patch-src_util_ssl.c
new file mode 100644
index 000000000000..f6392a47ab82
--- /dev/null
+++ b/net-im/climm/files/patch-src_util_ssl.c
@@ -0,0 +1,19 @@
+--- src/util_ssl.c.orig Thu Dec 16 22:36:52 2004
++++ src/util_ssl.c Thu Dec 16 22:37:28 2004
+@@ -210,6 +210,7 @@
+
+ #else /* ENABLE_GNUTLS */
+
++ DH *dh;
+ SSL_library_init();
+ gSSL_CTX = SSL_CTX_new (TLSv1_method ());
+ #if OPENSSL_VERSION_NUMBER >= 0x00905000L
+@@ -221,7 +222,7 @@
+ if (prG->verbose & DEB_SSL)
+ SSL_CTX_set_info_callback (gSSL_CTX, (void (*)())openssl_info_callback);
+
+- DH *dh = get_dh512 ();
++ dh = get_dh512 ();
+ if (!dh)
+ return -1;
+ SSL_CTX_set_tmp_dh (gSSL_CTX, dh);