aboutsummaryrefslogtreecommitdiffstats
path: root/g10/tlv.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-05-31 10:11:01 +0000
committerWerner Koch <[email protected]>2005-05-31 10:11:01 +0000
commita6a93ac54036c17de906e581de7aeeba5e463a31 (patch)
treeaaee931cc8862f003d5f847ac0de364081199f3e /g10/tlv.c
parentUpdated FSF street address and preparations for a release candidate. (diff)
downloadgnupg-a6a93ac54036c17de906e581de7aeeba5e463a31.tar.gz
gnupg-a6a93ac54036c17de906e581de7aeeba5e463a31.zip
* keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.
* cardglue.c (assuan_strerror, assuan_transact): Dummy functions if not build with agent support. * zh_TW.po, zh_CN.po, es.po, ro.po: Updated. * tr.po: Updated from TP. Note: this is an exception in general translations from the Robot are not anymore accepted. * regcomp.c (MB_CUR_MAX) [_WIN32]: Define it only if not defined.
Diffstat (limited to '')
-rw-r--r--g10/tlv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/g10/tlv.c b/g10/tlv.c
index bb7f99902..c7233e076 100644
--- a/g10/tlv.c
+++ b/g10/tlv.c
@@ -27,7 +27,11 @@
#include <assert.h>
#if GNUPG_MAJOR_VERSION == 1
-#include "cardglue.h"
+#define GPG_ERR_EOF (-1)
+#define GPG_ERR_BAD_BER (1) /*G10ERR_GENERAL*/
+#define GPG_ERR_INV_SEXP (45) /*G10ERR_INV_ARG*/
+typedef int gpg_error_t;
+#define gpg_error(n) (n)
#else
#include <gpg-error.h>
#endif