aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-07-23 15:18:58 +0000
committerWerner Koch <[email protected]>2009-07-23 15:18:58 +0000
commit830dae2873be093abe745f42424a5713e270f957 (patch)
tree84c8f23197440d6349a75087787884bfac07bdd6 /common/util.h
parentMake use of the card's extended capabilities. (diff)
downloadgnupg-830dae2873be093abe745f42424a5713e270f957.tar.gz
gnupg-830dae2873be093abe745f42424a5713e270f957.zip
Print status of CRL checks in the audit log.
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index 61b26f1de..3eed4eba8 100644
--- a/common/util.h
+++ b/common/util.h
@@ -25,6 +25,11 @@
#include <errno.h> /* We need errno. */
#include <gpg-error.h> /* We need gpg_error_t. */
+/* Add error codes available only in newer versions of libgpg-error. */
+#ifndef GPG_ERR_NOT_ENABLED
+#define GPG_ERR_NOT_ENABLED 179
+#endif
+
/* Hash function used with libksba. */
#define HASH_FNC ((void (*)(void *, const void*,size_t))gcry_md_write)