Return GPG_ERR_MISSING_ISSUER_CERT.
authorWerner Koch <wk@gnupg.org>
Thu, 16 Sep 2010 14:17:50 +0000 (14:17 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 16 Sep 2010 14:17:50 +0000 (14:17 +0000)
src/ChangeLog
src/import.c

index d772300e36e95fb898613c52143e085851b90e72..311764fc66fa4a446754561f7dcadbf4524ab1e9 100644 (file)
@@ -1,5 +1,8 @@
 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.
        * op-support.c: Include "util.h".
        (_gpgme_parse_inv_recp): Handle new code 12.
index ff5f9b32e7396e8fc2f876f6746830318cdb1bc6..784ce165887a6af540743b05f6c3fdfd4b60b4d1 100644 (file)
@@ -30,6 +30,7 @@
 #include "debug.h"
 #include "context.h"
 #include "ops.h"
+#include "util.h"
 
 \f
 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: