[git] GPG-ERROR - branch, master, updated. libgpg-error-1.24-9-g49e32ee

by Werner Koch cvs at cvs.gnupg.org
Wed Nov 2 10:09:48 CET 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  49e32eed4550869644d706352d683ddba5696d4e (commit)
      from  59855806e11a27c5b63d9c25f7516c8cc74668aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 49e32eed4550869644d706352d683ddba5696d4e
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Nov 2 10:05:37 2016 +0100

    Add error codes GPG_ERR_TOO_YOUNG and GPG_ERR_TOO_OLD.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

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.
 
 #

-----------------------------------------------------------------------

Summary of changes:
 NEWS               | 2 ++
 doc/errorref.txt   | 8 ++++++++
 src/err-codes.h.in | 2 ++
 3 files changed, 12 insertions(+)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list