cvs: pear /Crypt_GPG/GPG/Driver GnuPG.php Php.php

From: Date: Fri, 28 Mar 2008 18:34:00 +0000
Subject: cvs: pear /Crypt_GPG/GPG/Driver GnuPG.php Php.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-51715@lists.php.net to get a copy of this message
gauthierm Fri Mar 28 18:34:00 2008 UTC Modified files: /pear/Crypt_GPG/GPG/Driver GnuPG.php Php.php Log: Fix variable name key_id in exception. http://cvs.php.net/viewvc.cgi/pear/Crypt_GPG/GPG/Driver/GnuPG.php?r1=1.2&r2=1.3&diff_format=u Index: pear/Crypt_GPG/GPG/Driver/GnuPG.php diff -u pear/Crypt_GPG/GPG/Driver/GnuPG.php:1.2 pear/Crypt_GPG/GPG/Driver/GnuPG.php:1.3 --- pear/Crypt_GPG/GPG/Driver/GnuPG.php:1.2 Fri Mar 21 16:40:28 2008 +++ pear/Crypt_GPG/GPG/Driver/GnuPG.php Fri Mar 28 18:34:00 2008 @@ -51,7 +51,7 @@ * @author Michael Gauthier <mike@silverorange.com> * @copyright 2008 silverorange * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: GnuPG.php,v 1.2 2008/03/21 16:40:28 gauthierm Exp $ + * @version CVS: $Id: GnuPG.php,v 1.3 2008/03/28 18:34:00 gauthierm Exp $ * @link http://pear.php.net/package/Crypt_GPG * @link http://www.gnupg.org/ * @link http://php.net/gnupg/ @@ -516,7 +516,7 @@ switch ($error) { case 'no key for encryption set': throw new Crypt_GPG_KeyNotFoundException( - "Data could not be encrypted because key '" . $keyid . + "Data could not be encrypted because key '" . $key_id . "' was not found.", Crypt_GPG::ERROR_KEY_NOT_FOUND, $key_id); http://cvs.php.net/viewvc.cgi/pear/Crypt_GPG/GPG/Driver/Php.php?r1=1.20&r2=1.21&diff_format=u Index: pear/Crypt_GPG/GPG/Driver/Php.php diff -u pear/Crypt_GPG/GPG/Driver/Php.php:1.20 pear/Crypt_GPG/GPG/Driver/Php.php:1.21 --- pear/Crypt_GPG/GPG/Driver/Php.php:1.20 Fri Mar 21 16:40:28 2008 +++ pear/Crypt_GPG/GPG/Driver/Php.php Fri Mar 28 18:34:00 2008 @@ -32,7 +32,7 @@ * @author Michael Gauthier <mike@silverorange.com> * @copyright 2005-2007 silverorange * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: Php.php,v 1.20 2008/03/21 16:40:28 gauthierm Exp $ + * @version CVS: $Id: Php.php,v 1.21 2008/03/28 18:34:00 gauthierm Exp $ * @link http://pear.php.net/package/Crypt_GPG * @link http://www.gnupg.org/ */ @@ -807,7 +807,7 @@ switch ($code) { case Crypt_GPG::ERROR_KEY_NOT_FOUND: throw new Crypt_GPG_KeyNotFoundException( - "Data could not be encrypted because key '" . $keyid . + "Data could not be encrypted because key '" . $key_id . "' was not found.", $code, $key_id); break;

« previous php.pear.cvs (#51715) next »