[Pkg-gnupg-commit] [libgpg-error] 11/29: New error code GPG_ERR_INV_NAME.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Mar 5 00:41:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository libgpg-error.

commit 3a2ee6df5911728938a2fb56237b08f790841a0c
Author: Werner Koch <wk at gnupg.org>
Date:   Sun Feb 19 13:08:06 2017 +0100

    New error code GPG_ERR_INV_NAME.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 NEWS               |  5 +++++
 doc/errorref.txt   | 20 ++++++++++++++++----
 src/err-codes.h.in |  1 +
 3 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/NEWS b/NEWS
index 912dd0c..4901d99 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,11 @@ Noteworthy changes in version 1.27 (unreleased) [C2_/A2_/R_]
  gpgrt_b64dec_finish              NEW.
 
 
+ * Interface changes relative to the 1.26 release:
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ GPG_ERR_WRONG_NAME               NEW.
+
+
 Noteworthy changes in version 1.26 (2016-12-21) [C21/A21/R0]
 -----------------------------------------------
 
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 6cea1b7..4bc0ebb 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -301,7 +301,7 @@ GPG_ERR_INTERNAL                Internal error
 
 GPG_ERR_EOF_GCRYPT              EOF (gcrypt)
 
-GPG_ERR_INV_OBJ                         Invalid object
+GPG_ERR_INV_OBJ                 Invalid object
 
 GPG_ERR_TOO_SHORT               Provided object is too short
 
@@ -564,7 +564,7 @@ GPG_ERR_INV_STATE               Invalid state
     The state (of a protocol) is not possible or not defined at all.
 
     NTBTLS: - Data received in an unexpected state.
-
+            - A function is called while not being in the right state.
 
 
 GPG_ERR_DUP_VALUE               Duplicated value
@@ -575,7 +575,7 @@ GPG_ERR_MISSING_ACTION          Missing action
              use of the command "OPEN".
 
     others: - The libassuan ce-server test program uses this to
-              indicate that the client did not conncted to the server
+              indicate that the client did not connect to the server
               as requested.
 
 GPG_ERR_MODULE_NOT_FOUND        ASN.1 module not found
@@ -648,6 +648,14 @@ GPG_ERR_NO_ENGINE               No crypto engine
 
 GPG_ERR_MISSING_KEY             Missing key
 
+    GNUPG:  - gpg-agent returns this error on import or export if a key
+              wrapping transport key has not been specified.
+            - It is used when the name "Key" is not found while looking
+              up name value pairs of the extended private key format
+
+    GCRYPT: - A key has not been set when calling a symmetric
+              encryption function.
+
 GPG_ERR_TOO_MANY                Too many objects
 
     GPG: - Dirmngr KS_GET called with too many pattern so that the
@@ -802,7 +810,7 @@ GPG_ERR_REQUEST_TOO_LONG        Request too long
 GPG_ERR_OBJ_TERM_STATE          Object is in termination state
 
     For cards this is the ISO status word 0x6285 (file is in
-    termnation state).
+    termination state).
 
 GPG_ERR_NO_CERT_CHAIN           No certificate chain
 
@@ -1039,6 +1047,10 @@ GPG_ERR_TRY_LATER               Try again later
     different from EAGAIN which is used by the local system.  This
     code is for example used instead of h_error's TRY_AGAIN.
 
+GPG_ERR_WRONG_NAME              Wrong name
+
+    NTBTLS: - Hostname does not match the certificate
+
 GPG_ERR_SYSTEM_BUG              System bug detected
 
    The underlying operating system misbehaved.  For example it wrote
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 1c46948..2667d71 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -332,6 +332,7 @@
 310	GPG_ERR_INV_ORDER		Invalid execution order
 311	GPG_ERR_ALREADY_FETCHED		Already fetched
 312	GPG_ERR_TRY_LATER		Try again later
+313	GPG_ERR_WRONG_NAME		Wrong name
 # This range is free for use.
 
 666	GPG_ERR_SYSTEM_BUG		System bug detected

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libgpg-error.git



More information about the Pkg-gnupg-commit mailing list