diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/climm/files/patch-src_util_ssl.c | 19 | ||||
-rw-r--r-- | net-im/micq/files/patch-src_util_ssl.c | 19 |
2 files changed, 38 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); diff --git a/net-im/micq/files/patch-src_util_ssl.c b/net-im/micq/files/patch-src_util_ssl.c new file mode 100644 index 000000000000..f6392a47ab82 --- /dev/null +++ b/net-im/micq/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); |