mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
Renamed an error code.
This commit is contained in:
parent
8ed2348ae5
commit
a55d4d129f
@ -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 \
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user