[git] GPG-ERROR - branch, master, updated. libgpg-error-1.17-9-g149fe98

by Werner Koch cvs at cvs.gnupg.org
Wed Dec 3 10:01:11 CET 2014


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  149fe98e1279b065edb06958d9a73a0c013c2db9 (commit)
      from  210126d38096e764dd3a82da45f8b5f66309ecd5 (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 149fe98e1279b065edb06958d9a73a0c013c2db9
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Dec 3 10:01:38 2014 +0100

    Add GPG_ERR_FORBIDDEN.

diff --git a/NEWS b/NEWS
index 3404f7d..d6a3eb4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,10 @@
 Noteworthy changes in version 1.18 (unreleased) [C13/A13/R_]
 -----------------------------------------------
 
+ * Interface changes relative to the 1.17 release:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ GPG_ERR_FORBIDDEN                NEW.
+
 
 Noteworthy changes in version 1.17 (2014-10-15) [C13/A13/R0]
 -----------------------------------------------
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 07b7cd4..886a304 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -718,6 +718,10 @@ GPG_ERR_BOGUS_STRING            Bogus string
     possible dangerous characters (e.g. control characters in a domain
     name).
 
+GPG_ERR_FORBIDDEN		Forbidden
+
+    The use of a features is not allowed to to insuffcient rights.
+    Use by gpg-agent as aerror codes for restricted commands.
 
 GPG_ERR_KEY_DISABLED            Key disabled
 
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 704049c..5990bd0 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -274,8 +274,7 @@
 248	GPG_ERR_BAD_HS_SERVER_KEX	Bad server key exchange message in handshake
 249	GPG_ERR_BAD_HS_CLIENT_KEX	Bad client key exchange message in handshake
 250	GPG_ERR_BOGUS_STRING		Bogus string
-# 251 is free to be used.
-
+251	GPG_ERR_FORBIDDEN		Forbidden
 252	GPG_ERR_KEY_DISABLED		Key disabled
 253	GPG_ERR_KEY_ON_CARD		Not possible with a card based key
 254	GPG_ERR_INV_LOCK_OBJ		Invalid lock object

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

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


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




More information about the Gnupg-commits mailing list