summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--doc/errorref.txt8
-rw-r--r--src/err-codes.h.in2
3 files changed, 12 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a646c7d..b1c8c6c 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,8 @@ Noteworthy changes in version 1.25 (unreleased) [C19/A19/R_)
GPG_ERR_USER_ID_EXISTS NEW.
GPG_ERR_NAME_EXISTS NEW.
GPG_ERR_DUP_NAME NEW.
+ GPG_ERR_TOO_OLD NEW.
+ GPG_ERR_TOO_YOUNG NEW.
Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1)
diff --git a/doc/errorref.txt b/doc/errorref.txt
index da5df23..0ea7d76 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -851,6 +851,14 @@ GPG_ERR_USER_ID_EXISTS (304) User ID already exists
GPG_ERR_NAME_EXISTS (305) Name already exists
GPG_ERR_DUP_NAME (306) Duplicated name
+GPG_ERR_TOO_YOUNG (307) Objects is too young
+
+ For example used if a file is younger than expected.
+
+GPG_ERR_TOO_OLD (308 Objects is too old
+
+ Used if an object is too old to be used. This is a more generic
+ code than GPG_ERR_ENGINE_TOO_OLD or GPG_ERR_CRL_TOO_OLD.
GPG_ERR_LDAP_GENERAL LDAP General error
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 1bf717d..f29c234 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -326,6 +326,8 @@
304 GPG_ERR_USER_ID_EXISTS User ID already exists
305 GPG_ERR_NAME_EXISTS Name already exists
306 GPG_ERR_DUP_NAME Duplicated name
+307 GPG_ERR_TOO_YOUNG Objects is too young
+308 GPG_ERR_TOO_OLD Objects is too old
# This range is free for use.
#