diff options
author | krion <krion@FreeBSD.org> | 2004-12-17 05:40:45 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-12-17 05:40:45 +0800 |
commit | c9341f23a125fb47da6b8fbd34bd478e150d8fe1 (patch) | |
tree | c09d70d28a95f38377d299dd9dab71ad15fcfbb2 /net/micq | |
parent | f8b32704a36a5c1ce2c3eba34d7fe586b9104744 (diff) | |
download | freebsd-ports-gnome-c9341f23a125fb47da6b8fbd34bd478e150d8fe1.tar.gz freebsd-ports-gnome-c9341f23a125fb47da6b8fbd34bd478e150d8fe1.tar.zst freebsd-ports-gnome-c9341f23a125fb47da6b8fbd34bd478e150d8fe1.zip |
Fix build on 4.x
Diffstat (limited to 'net/micq')
-rw-r--r-- | net/micq/files/patch-src_util_ssl.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/micq/files/patch-src_util_ssl.c b/net/micq/files/patch-src_util_ssl.c new file mode 100644 index 000000000000..f6392a47ab82 --- /dev/null +++ b/net/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); |