Suuport INV_RECP reason code 11.

Changed address paragraph in top comment.
This commit is contained in:
Werner Koch 2007-11-20 10:40:41 +00:00
parent acf868bc7f
commit c5875428bb
3 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2007-11-20 Werner Koch <wk@g10code.com>
* op-support.c (_gpgme_parse_inv_recp): Add new reason code 11.
2007-11-12 Marcus Brinkmann <marcus@g10code.de> 2007-11-12 Marcus Brinkmann <marcus@g10code.de>
* kdpipeiodevice.cpp: New version from Frank Osterfeld. * kdpipeiodevice.cpp: New version from Frank Osterfeld.

View File

@ -15,9 +15,8 @@
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with this program; if not, write to the Free Software License along with this program; if not, see <http://www.gnu.org/licenses/>.
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, */
MA 02110-1301, USA. */
#ifndef GPGME_H #ifndef GPGME_H
#define GPGME_H #define GPGME_H

View File

@ -1,5 +1,5 @@
/* op-support.c /* op-support.c - Supporting functions.
Copyright (C) 2002, 2003, 2004 g10 Code GmbH Copyright (C) 2002, 2003, 2004, 2007 g10 Code GmbH
This file is part of GPGME. This file is part of GPGME.
@ -14,9 +14,8 @@
Lesser General Public License for more details. Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with this program; if not, write to the Free Software License along with this program; if not, see <http://www.gnu.org/licenses/>.
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA */
02111-1307, USA. */
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
#include <config.h> #include <config.h>
@ -214,6 +213,10 @@ _gpgme_parse_inv_recp (char *args, gpgme_invalid_key_t *key)
case 10: case 10:
inv_key->reason = gpg_error (GPG_ERR_PUBKEY_NOT_TRUSTED); inv_key->reason = gpg_error (GPG_ERR_PUBKEY_NOT_TRUSTED);
break; break;
case 11:
inv_key->reason = gpg_error (GPG_ERR_MISSING_CERT);
break;
} }
while (*tail == ' ') while (*tail == ' ')