From 7114203ef3846709f24d74d037b7832feb07edec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Apr 2025 15:23:05 +0200 Subject: update to 1.5.2 re-license spec file to CECILL-2.1 open https://github.com/php-gnupg/php-gnupg/pull/52 file missing in archive open https://github.com/php-gnupg/php-gnupg/pull/53 fix tests with PHP 5 --- gnupg-tests.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 gnupg-tests.patch (limited to 'gnupg-tests.patch') diff --git a/gnupg-tests.patch b/gnupg-tests.patch new file mode 100644 index 0000000..17a858c --- /dev/null +++ b/gnupg-tests.patch @@ -0,0 +1,22 @@ +From 2a5bc513c6ae065ef43bda71b321bce1b318f03e Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Tue, 8 Apr 2025 14:12:09 +0200 +Subject: [PATCH] fix tests with 5.6 + +--- + tests/gnupgt.inc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/gnupgt.inc b/tests/gnupgt.inc +index 2b8aa08..7b06a0a 100644 +--- a/tests/gnupgt.inc ++++ b/tests/gnupgt.inc +@@ -75,7 +75,7 @@ class gnupgt { + self::reset_key(); + + $gpg = self::create_instance(); +- $gpg->import($privkey ?? $testkey); ++ $gpg->import(is_null($privkey) ? $testkey : $privkey); + } + + /** -- cgit