Return GPG_ERR_MISSING_ISSUER_CERT.

This commit is contained in:
Werner Koch 2010-09-16 14:17:50 +00:00
parent bc22c2098d
commit b927279603
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2010-09-16 Werner Koch <wk@g10code.com> 2010-09-16 Werner Koch <wk@g10code.com>
* import.c: Include "util.h".
(parse_import): Return GPG_ERR_MISSING_ISSUER_CERT.
* util.h: Add fallback define for GPG_ERR_MISSING_ISSUER_CERT. * util.h: Add fallback define for GPG_ERR_MISSING_ISSUER_CERT.
* op-support.c: Include "util.h". * op-support.c: Include "util.h".
(_gpgme_parse_inv_recp): Handle new code 12. (_gpgme_parse_inv_recp): Handle new code 12.

View File

@ -30,6 +30,7 @@
#include "debug.h" #include "debug.h"
#include "context.h" #include "context.h"
#include "ops.h" #include "ops.h"
#include "util.h"
typedef struct typedef struct
@ -149,7 +150,7 @@ parse_import (char *args, gpgme_import_status_t *import_status, int problem)
break; break;
case 2: case 2:
import->result = gpg_error (GPG_ERR_MISSING_CERT); import->result = gpg_error (GPG_ERR_MISSING_ISSUER_CERT);
break; break;
case 3: case 3: