From b927279603f79dc08f84e117cf0797d2f9db593d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 16 Sep 2010 14:17:50 +0000 Subject: [PATCH] Return GPG_ERR_MISSING_ISSUER_CERT. --- src/ChangeLog | 3 +++ src/import.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d772300..311764f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2010-09-16 Werner Koch + * import.c: Include "util.h". + (parse_import): Return GPG_ERR_MISSING_ISSUER_CERT. + * util.h: Add fallback define for GPG_ERR_MISSING_ISSUER_CERT. * op-support.c: Include "util.h". (_gpgme_parse_inv_recp): Handle new code 12. diff --git a/src/import.c b/src/import.c index ff5f9b3..784ce16 100644 --- a/src/import.c +++ b/src/import.c @@ -30,6 +30,7 @@ #include "debug.h" #include "context.h" #include "ops.h" +#include "util.h" typedef struct @@ -149,7 +150,7 @@ parse_import (char *args, gpgme_import_status_t *import_status, int problem) break; case 2: - import->result = gpg_error (GPG_ERR_MISSING_CERT); + import->result = gpg_error (GPG_ERR_MISSING_ISSUER_CERT); break; case 3: -- 2.26.2