aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog7
-rw-r--r--include/errors.h1
-rw-r--r--include/keyserver.h6
3 files changed, 11 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 432ce6862..ac2663fed 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-27 David Shaw <[email protected]>
+
+ * KEYSERVER_SCHEME_NOT_FOUND should be 127 to match the POSIX
+ system() (via /bin/sh) way of signaling this.
+
+ * Added G10ERR_KEYSERVER
+
2001-12-27 Werner Koch <[email protected]>
* util.h [MINGW32]: Fixed name of include file.
diff --git a/include/errors.h b/include/errors.h
index d9edebd24..0dde0f9b5 100644
--- a/include/errors.h
+++ b/include/errors.h
@@ -74,6 +74,7 @@
#define G10ERR_NOT_PROCESSED 52
#define G10ERR_UNU_PUBKEY 53
#define G10ERR_UNU_SECKEY 54
+#define G10ERR_KEYSERVER 55
#ifndef HAVE_STRERROR
diff --git a/include/keyserver.h b/include/keyserver.h
index 92dac39d4..e7513d134 100644
--- a/include/keyserver.h
+++ b/include/keyserver.h
@@ -23,8 +23,8 @@
/* Return codes */
#define KEYSERVER_OK 0
-#define KEYSERVER_SCHEME_NOT_FOUND 1
-#define KEYSERVER_INTERNAL_ERROR 2
-#define KEYSERVER_VERSION_ERROR 3
+#define KEYSERVER_INTERNAL_ERROR 1
+#define KEYSERVER_VERSION_ERROR 2
+#define KEYSERVER_SCHEME_NOT_FOUND 127
#endif /* !_KEYSERVER_H_ */