From 15d584a147800f60c6618fb3ab837b6034162cff Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Oct 01 2012 10:42:40 +0000 Subject: defuzz patches --- diff --git a/libssh2-1.2.9-utf8.patch b/libssh2-1.2.9-utf8.patch deleted file mode 100644 index 1535fa5..0000000 --- a/libssh2-1.2.9-utf8.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libssh2/NEWS -+++ libssh2/NEWS -@@ -2886,7 +2886,7 @@ - - support arcfour128 cipher per RFC 4345 - - Daniel Stenberg (21 Oct 2009) --- [Cristian Rodríguez brought this change] -+- [Cristian Rodríguez brought this change] - - add support for GCC visibility features - diff --git a/libssh2-1.4.2-fips.patch b/libssh2-1.4.2-fips.patch index af88656..e45d794 100644 --- a/libssh2-1.4.2-fips.patch +++ b/libssh2-1.4.2-fips.patch @@ -255,7 +255,7 @@ index 15425b9..b4ec037 100644 &session->remote.crypt_abstract)) { LIBSSH2_FREE(session, p->payload); return LIBSSH2_ERROR_DECRYPT; -@@ -846,6 +846,7 @@ int _libssh2_transport_send(LIBSSH2_SESSION *session, +@@ -834,6 +834,7 @@ int _libssh2_transport_send(LIBSSH2_SESSION *session, for(i = 0; i < packet_length; i += session->local.crypt->blocksize) { unsigned char *ptr = &p->outbuf[i]; if (session->local.crypt->crypt(session, ptr, diff --git a/libssh2-1.4.2-utf8.patch b/libssh2-1.4.2-utf8.patch new file mode 100644 index 0000000..aa1e854 --- /dev/null +++ b/libssh2-1.4.2-utf8.patch @@ -0,0 +1,14 @@ + NEWS | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- libssh2/NEWS ++++ libssh2/NEWS +@@ -3284,7 +3284,7 @@ Simon Josefsson (16 Nov 2009) + - support arcfour128 cipher per RFC 4345 + + Daniel Stenberg (21 Oct 2009) +-- [Cristian Rodríguez brought this change] ++- [Cristian Rodríguez brought this change] + + add support for GCC visibility features + diff --git a/libssh2.spec b/libssh2.spec index 87ba988..c5e5b5d 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -15,7 +15,7 @@ Group: System Environment/Libraries License: BSD URL: http://www.libssh2.org/ Source0: http://libssh2.org/download/libssh2-%{version}.tar.gz -Patch0: libssh2-1.2.9-utf8.patch +Patch0: libssh2-1.4.2-utf8.patch Patch1: libssh2-1.4.2-fips.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRequires: openssl-devel