Renamed an error code.
authorWerner Koch <wk@gnupg.org>
Fri, 16 Aug 2002 14:24:12 +0000 (14:24 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 16 Aug 2002 14:24:12 +0000 (14:24 +0000)
common/Makefile.am
common/errors.h
common/maperror.c

index 960712c..8f8209a 100644 (file)
@@ -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 \
index 5b5fde7..ac6a042 100644 (file)
@@ -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,
index 5e3fecd..ab03669 100644 (file)
@@ -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;