From 3ee0ed98e2495fefe244a79254ce2f79fe3727c5 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. --- trunk/gpgme/ChangeLog | 4 ++++ trunk/gpgme/gpgme.h | 5 ++--- trunk/gpgme/op-support.c | 13 ++++++++----- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 1739e1b..e6366c3 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/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/trunk/gpgme/gpgme.h b/trunk/gpgme/gpgme.h index 57bb011..5daac08 100644 --- a/trunk/gpgme/gpgme.h +++ b/trunk/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/trunk/gpgme/op-support.c b/trunk/gpgme/op-support.c index b7df3f1..6e11804 100644 --- a/trunk/gpgme/op-support.c +++ b/trunk/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 == ' ') -- 2.26.2