summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-08-16 16:24:12 +0200
committerWerner Koch <wk@gnupg.org>2002-08-16 16:24:12 +0200
commita55d4d129f273652845e7d8c5cd3fe1890b2f1c4 (patch)
tree1246d4ed1dd4a2c024a5ac3c3cfcb0a596639b9e /common
parent* scdaemon.c: Include i18n.h. (diff)
downloadgnupg2-a55d4d129f273652845e7d8c5cd3fe1890b2f1c4.tar.xz
gnupg2-a55d4d129f273652845e7d8c5cd3fe1890b2f1c4.zip
Renamed an error code.
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am2
-rw-r--r--common/errors.h2
-rw-r--r--common/maperror.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 960712c4e..8f8209afd 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -25,7 +25,7 @@ BUILT_SOURCES = errors.c
noinst_LIBRARIES = libcommon.a
-AM_CPPFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBKSBA_CFLAGS)
+AM_CPPFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS)
libcommon_a_SOURCES = \
util.h i18n.h \
diff --git a/common/errors.h b/common/errors.h
index 5b5fde781..ac6a042c8 100644
--- a/common/errors.h
+++ b/common/errors.h
@@ -34,7 +34,7 @@ enum {
GNUPG_Resource_Limit = 5,
GNUPG_Internal_Error = 6,
GNUPG_Bad_Certificate = 7,
- GNUPG_Bad_Certificate_Path = 8,
+ GNUPG_Bad_Certificate_Chain = 8,
GNUPG_Missing_Certificate = 9,
GNUPG_No_Data = 10,
GNUPG_Bad_Signature = 11,
diff --git a/common/maperror.c b/common/maperror.c
index 5e3fecd49..ab03669ae 100644
--- a/common/maperror.c
+++ b/common/maperror.c
@@ -210,7 +210,7 @@ map_to_assuan_status (int rc)
case GNUPG_Certificate_Expired:
rc = ASSUAN_Bad_Certificate;
break;
- case GNUPG_Bad_Certificate_Path: rc = ASSUAN_Bad_Certificate_Path; break;
+ case GNUPG_Bad_Certificate_Chain: rc = ASSUAN_Bad_Certificate_Chain; break;
case GNUPG_Missing_Certificate: rc = ASSUAN_Missing_Certificate; break;
case GNUPG_No_Data: rc = ASSUAN_No_Data_Available; break;
case GNUPG_Bad_Signature: rc = ASSUAN_Bad_Signature; break;