From 15d584a147800f60c6618fb3ab837b6034162cff Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 26 Sep 2012 13:25:19 +0200 Subject: [PATCH] defuzz patches --- libssh2-1.4.2-fips.patch | 2 +- libssh2-1.2.9-utf8.patch => libssh2-1.4.2-utf8.patch | 5 ++++- libssh2.spec | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) rename libssh2-1.2.9-utf8.patch => libssh2-1.4.2-utf8.patch (66%) 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.2.9-utf8.patch b/libssh2-1.4.2-utf8.patch similarity index 66% rename from libssh2-1.2.9-utf8.patch rename to libssh2-1.4.2-utf8.patch index 1535fa5..aa1e854 100644 --- a/libssh2-1.2.9-utf8.patch +++ b/libssh2-1.4.2-utf8.patch @@ -1,6 +1,9 @@ + NEWS | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + --- libssh2/NEWS +++ libssh2/NEWS -@@ -2886,7 +2886,7 @@ +@@ -3284,7 +3284,7 @@ Simon Josefsson (16 Nov 2009) - support arcfour128 cipher per RFC 4345 Daniel Stenberg (21 Oct 2009) 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