From c5875428bb97369400fa30b52658f684d240b888 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 20 Nov 2007 10:40:41 +0000 Subject: [PATCH] Suuport INV_RECP reason code 11. Changed address paragraph in top comment. --- gpgme/ChangeLog | 4 ++++ gpgme/gpgme.h | 5 ++--- 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 + + * op-support.c (_gpgme_parse_inv_recp): Add new reason code 11. + 2007-11-12 Marcus Brinkmann * 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 . + */ #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 . + */ #if HAVE_CONFIG_H #include @@ -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 == ' ')