This is an automated email from the git hooks/post-receive script. ntyni pushed a commit to branch master in repository libcrypt-gcrypt-perl.
commit 3c449dbb4abc610e6f9abcc7b75af2e40659385e Author: Niko Tyni <[email protected]> Date: Sat Apr 23 17:09:31 2016 +0300 Patch the test suite to work with libgcrypt >= 1.7.0 --- ...1-Use-an-encryption-key-in-the-test-suite.patch | 32 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 33 insertions(+) diff --git a/debian/patches/0001-Use-an-encryption-key-in-the-test-suite.patch b/debian/patches/0001-Use-an-encryption-key-in-the-test-suite.patch new file mode 100644 index 0000000..7ee35b5 --- /dev/null +++ b/debian/patches/0001-Use-an-encryption-key-in-the-test-suite.patch @@ -0,0 +1,32 @@ +From cf6ef66ab447c696d465d3d1123685c2f281e8c2 Mon Sep 17 00:00:00 2001 +From: Niko Tyni <[email protected]> +Date: Sat, 23 Apr 2016 16:49:57 +0300 +Subject: [PATCH] Use an encryption key in the test suite + +While encrypting without calling setkey() used to work before libgcrypt +1.7.0, this was accidental and not supported. It causes a SIGSEGV in +1.7.0 and will return an error in future versions. + +See <http://thread.gmane.org/gmane.comp.encryption.gpg.libgcrypt.devel/4487> + +Bug-Debian: https://bugs.debian.org/816104 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=112504 +--- + t/01-cipher.t | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/t/01-cipher.t b/t/01-cipher.t +index 3f7de37..0bbdf0a 100644 +--- a/t/01-cipher.t ++++ b/t/01-cipher.t +@@ -102,6 +102,7 @@ ok(substr($d, 0, length $p) eq $p) + algorithm => 'aes', + padding => 'none' + ); ++ $c->setkey($key); + $c->start('encrypting'); + ok(!eval {my $e2 = $c->encrypt('aaa'); 1}); # this should die + ok(eval { my $e2 = $c->encrypt('aaaaaaaaaaaaaaaa') . $c->finish; 1 }); # this should not die +-- +2.8.0.rc3 + diff --git a/debian/patches/series b/debian/patches/series index e023246..f08da79 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ gcrypt-1.6.patch gcc5-warnings.patch +0001-Use-an-encryption-key-in-the-test-suite.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcrypt-gcrypt-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
