From ec9d7264142866c35bb53026c7888a015c742c73 Mon Sep 17 00:00:00 2001 From: Jiri Skala Date: Wed, 30 Jun 2010 06:19:12 +0000 Subject: [PATCH] - fixes issue when some servers require forcing SSL3.0 - corrected check for 'max time' used for fix #600218 --- lftp-4.0.9-date_fmt.patch | 14 +++++++++++--- lftp-4.0.9-ssl3.patch | 17 +++++++++++++++++ lftp.spec | 8 +++++++- 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 lftp-4.0.9-ssl3.patch diff --git a/lftp-4.0.9-date_fmt.patch b/lftp-4.0.9-date_fmt.patch index afe1f38..dff27f1 100644 --- a/lftp-4.0.9-date_fmt.patch +++ b/lftp-4.0.9-date_fmt.patch @@ -1,12 +1,20 @@ diff -up lftp-4.0.9/src/Http.cc.date_fmt lftp-4.0.9/src/Http.cc --- lftp-4.0.9/src/Http.cc.date_fmt 2009-07-17 14:52:26.000000000 +0200 -+++ lftp-4.0.9/src/Http.cc 2010-06-22 18:33:41.293950484 +0200 -@@ -562,16 +562,10 @@ void Http::SendRequest(const char *conne ++++ lftp-4.0.9/src/Http.cc 2010-06-30 08:07:00.818994525 +0200 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + #include + #include "Http.h" +@@ -562,16 +563,10 @@ void Http::SendRequest(const char *conne (long long)((limit==FILE_END || limit>entity_size ? entity_size : limit)-1), (long long)entity_size); } - if(entity_date!=NO_DATE) -+ if(entity_date!=NO_DATE && entity_date>0L && entity_date<0xFFFFFFFF) ++ if(entity_date!=NO_DATE && entity_date>0L && entity_date - 4.0.9-3 +- fixes issue when some servers require forcing SSL3.0 +- corrected check for 'max time' used for fix #600218 + * Tue Jun 22 2010 Jiri Skala - 4.0.9-2 - fixes #600218 - [abrt] Process /usr/bin/lftp was killed by signal 1