summaryrefslogtreecommitdiffstats
path: root/Crypt_GPG-gpg1.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-02-27 11:29:50 +0100
committerRemi Collet <fedora@famillecollet.com>2017-02-27 11:29:50 +0100
commit0bdf20a238603290394a212eff505e132dc1232d (patch)
treefc3824ccebca3a37b32ccc3a4e5fc8d157f913c6 /Crypt_GPG-gpg1.patch
parentbd1950aaf352278c6f431bddee6002aaa917ed86 (diff)
php-pear-crypt-gpg: 1.6.0
Diffstat (limited to 'Crypt_GPG-gpg1.patch')
-rw-r--r--Crypt_GPG-gpg1.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/Crypt_GPG-gpg1.patch b/Crypt_GPG-gpg1.patch
new file mode 100644
index 0000000..d1fce04
--- /dev/null
+++ b/Crypt_GPG-gpg1.patch
@@ -0,0 +1,13 @@
+diff -up Crypt_GPG-1.6.0/Crypt/GPG/Engine.php.rpm Crypt_GPG-1.6.0/Crypt/GPG/Engine.php
+--- Crypt_GPG-1.6.0/Crypt/GPG/Engine.php.rpm 2017-02-27 10:57:56.809109249 +0100
++++ Crypt_GPG-1.6.0/Crypt/GPG/Engine.php 2017-02-27 10:58:16.432196197 +0100
+@@ -1913,6 +1913,9 @@ class Crypt_GPG_Engine
+ */
+ private function _getBinary()
+ {
++ if ($binary = $this->_findBinary('gpg1')) {
++ return $binary;
++ }
+ if ($binary = $this->_findBinary('gpg')) {
+ return $binary;
+ }