From: Werner Koch Date: Thu, 16 Sep 2010 14:17:50 +0000 (+0000) Subject: Return GPG_ERR_MISSING_ISSUER_CERT. X-Git-Tag: gpgme-1.3.1~42 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b927279603f79dc08f84e117cf0797d2f9db593d;p=gpgme.git Return GPG_ERR_MISSING_ISSUER_CERT. --- 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: