diff options
| author | Werner Koch <[email protected]> | 2007-11-20 10:40:41 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2007-11-20 10:40:41 +0000 | 
| commit | c5875428bb97369400fa30b52658f684d240b888 (patch) | |
| tree | e8aa167e5f2ff93a62e08cf9d2a60aeed6f9f069 | |
| parent | 2007-11-12 Marcus Brinkmann <[email protected]> (diff) | |
| download | gpgme-c5875428bb97369400fa30b52658f684d240b888.tar.gz gpgme-c5875428bb97369400fa30b52658f684d240b888.zip | |
Suuport INV_RECP reason code 11.
Changed address paragraph in top comment.
| -rw-r--r-- | gpgme/ChangeLog | 4 | ||||
| -rw-r--r-- | gpgme/gpgme.h | 5 | ||||
| -rw-r--r-- | gpgme/op-support.c | 13 | 
3 files changed, 14 insertions, 8 deletions
| diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 1739e1b0..e6366c33 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,7 @@ +2007-11-20  Werner Koch  <[email protected]> + +	* op-support.c (_gpgme_parse_inv_recp): Add new reason code 11. +  2007-11-12  Marcus Brinkmann  <[email protected]>  	* kdpipeiodevice.cpp: New version from Frank Osterfeld. diff --git a/gpgme/gpgme.h b/gpgme/gpgme.h index 57bb0116..5daac087 100644 --- a/gpgme/gpgme.h +++ b/gpgme/gpgme.h @@ -15,9 +15,8 @@     Lesser General Public License for more details.     You should have received a copy of the GNU Lesser General Public -   License along with this program; if not, write to the Free Software -   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,  -   MA 02110-1301, USA.  */ +   License along with this program; if not, see <http://www.gnu.org/licenses/>. + */  #ifndef GPGME_H  #define GPGME_H diff --git a/gpgme/op-support.c b/gpgme/op-support.c index b7df3f13..6e118044 100644 --- a/gpgme/op-support.c +++ b/gpgme/op-support.c @@ -1,5 +1,5 @@ -/* op-support.c  -   Copyright (C) 2002, 2003, 2004 g10 Code GmbH +/* op-support.c - Supporting functions. +   Copyright (C) 2002, 2003, 2004, 2007 g10 Code GmbH     This file is part of GPGME. @@ -14,9 +14,8 @@     Lesser General Public License for more details.     You should have received a copy of the GNU Lesser General Public -   License along with this program; if not, write to the Free Software -   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -   02111-1307, USA.  */ +   License along with this program; if not, see <http://www.gnu.org/licenses/>. + */  #if HAVE_CONFIG_H  #include <config.h> @@ -214,6 +213,10 @@ _gpgme_parse_inv_recp (char *args, gpgme_invalid_key_t *key)      case 10:        inv_key->reason = gpg_error (GPG_ERR_PUBKEY_NOT_TRUSTED);        break; + +    case 11: +      inv_key->reason = gpg_error (GPG_ERR_MISSING_CERT); +      break;      }    while (*tail == ' ') | 
