]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
vsftpd: Update to version 2.2.2.
authorSchantl Stefan <Stevee@ipfire.org>
Sat, 1 May 2010 18:10:39 +0000 (20:10 +0200)
committerSchantl Stefan <Stevee@ipfire.org>
Sat, 1 May 2010 18:10:39 +0000 (20:10 +0200)
pkgs/core/vsftpd/patches/vsftpd-2.2.0-openssl.patch [new file with mode: 0644]
pkgs/core/vsftpd/vsftpd.nm

diff --git a/pkgs/core/vsftpd/patches/vsftpd-2.2.0-openssl.patch b/pkgs/core/vsftpd/patches/vsftpd-2.2.0-openssl.patch
new file mode 100644 (file)
index 0000000..23dc498
--- /dev/null
@@ -0,0 +1,15 @@
+diff -up vsftpd-2.2.0/ssl.c.openssl vsftpd-2.2.0/ssl.c
+--- vsftpd-2.2.0/ssl.c.openssl 2009-01-09 21:47:05.000000000 +0100
++++ vsftpd-2.2.0/ssl.c 2009-08-22 20:41:58.000000000 +0200
+@@ -537,7 +537,11 @@ get_ssl(struct vsf_session* p_sess, int 
+   if (tunable_debug_ssl)
+   {
+     const char* p_ssl_version = SSL_get_cipher_version(p_ssl);
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++    const SSL_CIPHER* p_ssl_cipher = SSL_get_current_cipher(p_ssl);
++#else
+     SSL_CIPHER* p_ssl_cipher = SSL_get_current_cipher(p_ssl);
++#endif
+     const char* p_cipher_name = SSL_CIPHER_get_name(p_ssl_cipher);
+     X509* p_ssl_cert = SSL_get_peer_certificate(p_ssl);
+     int reused = SSL_session_reused(p_ssl);
index a2d85b8b08f37f534849a6e9ad7a1bbc8986ae2d..c26ec545ff7ed09f65b701c506f9f79ec174d375 100644 (file)
@@ -25,7 +25,7 @@
 include $(PKGROOT)/Include
 
 PKG_NAME       = vsftpd
-PKG_VER        = 2.2.1
+PKG_VER        = 2.2.2
 PKG_REL        = 0
 
 PKG_MAINTAINER =