Add a new error code.
This commit is contained in:
parent
c828c9d9a4
commit
bc22c2098d
@ -1,3 +1,9 @@
|
|||||||
|
2010-09-16 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2010-09-02 Marcus Brinkmann <marcus@g10code.de>
|
2010-09-02 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* error.c (gpgme_err_code_to_errno): Fix cut and paste bug (thanks
|
* error.c (gpgme_err_code_to_errno): Fix cut and paste bug (thanks
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "gpgme.h"
|
#include "gpgme.h"
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
#include "ops.h"
|
#include "ops.h"
|
||||||
|
#include "util.h"
|
||||||
|
|
||||||
|
|
||||||
gpgme_error_t
|
gpgme_error_t
|
||||||
@ -246,6 +247,10 @@ _gpgme_parse_inv_recp (char *args, gpgme_invalid_key_t *key)
|
|||||||
case 11:
|
case 11:
|
||||||
inv_key->reason = gpg_error (GPG_ERR_MISSING_CERT);
|
inv_key->reason = gpg_error (GPG_ERR_MISSING_CERT);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 12:
|
||||||
|
inv_key->reason = gpg_error (GPG_ERR_MISSING_ISSUER_CERT);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (*tail && *tail == ' ')
|
while (*tail && *tail == ' ')
|
||||||
|
@ -136,6 +136,9 @@ const char *_gpgme_get_w32spawn_path (void);
|
|||||||
#ifndef GPG_ERR_NOT_OPERATIONAL
|
#ifndef GPG_ERR_NOT_OPERATIONAL
|
||||||
#define GPG_ERR_NOT_OPERATIONAL 176
|
#define GPG_ERR_NOT_OPERATIONAL 176
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GPG_ERR_MISSING_ISSUER_CERT
|
||||||
|
#define GPG_ERR_MISSING_ISSUER_CERT 185
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef ENABLE_ASSUAN
|
#ifdef ENABLE_ASSUAN
|
||||||
|
Loading…
Reference in New Issue
Block a user