aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-12-28 12:52:10 +0000
committerWerner Koch <[email protected]>2014-12-28 12:52:10 +0000
commita672a1510456f3f12769938ab95c50ec6904e42e (patch)
treef6f83cc0838fa5e3d9ed13f796c80a7608722cf0
parentFix commit 754a987. (diff)
downloadlibgpg-error-a672a1510456f3f12769938ab95c50ec6904e42e.tar.gz
libgpg-error-a672a1510456f3f12769938ab95c50ec6904e42e.zip
Add GPG_ERR_REQUEST_TOO_SHORT and GPG_ERR_REQUEST_TOO_LONG.
-rw-r--r--NEWS2
-rw-r--r--doc/errorref.txt10
-rw-r--r--src/err-codes.h.in4
3 files changed, 14 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 01eb0fb..65083f5 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@ Noteworthy changes in version 1.18 (unreleased) [C13/A13/R_]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GPG_ERR_FORBIDDEN NEW.
GPG_ERR_OBJ_TERM_STATE NEW.
+ GPG_ERR_REQUEST_TOO_SHORT NEW.
+ GPG_ERR_REQUEST_TOO_LONG NEW.
Noteworthy changes in version 1.17 (2014-10-15) [C13/A13/R0]
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 15a2013..0657f53 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -610,13 +610,21 @@ GPG_ERR_MAC_ALGO
212 GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression
213 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression
+GPG_ERR_REQUEST_TOO_SHORT Request too short
+
+ A received request is too short to continue processing.
+
+GPG_ERR_REQUEST_TOO_LONG Request too long
+
+ A received request is too long to continue processing. This may
+ be due to an internal limitation, a protocol violation, or due to
+ the use of a newer version of a protocol.
GPG_ERR_OBJ_TERM_STATE Object is in termination state
For cards this is the ISO status word 0x6285 (file is in
termnation state).
-
GPG_ERR_NO_CERT_CHAIN No certificate chain
NTBTLS: - A CA chain has not been set but is required.
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 11699cf..866380d 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -247,8 +247,10 @@
212 GPG_ERR_SEXP_ODD_HEX_NUMBERS Odd hexadecimal numbers in S-expression
213 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression
-# 214 to 224 are free to be used.
+# 214 to 222 are free to be used.
+223 GPG_ERR_REQUEST_TOO_SHORT Request too short
+224 GPG_ERR_REQUEST_TOO_LONG Request too long
225 GPG_ERR_OBJ_TERM_STATE Object is in termination state
226 GPG_ERR_NO_CERT_CHAIN No certificate chain
227 GPG_ERR_CERT_TOO_LARGE Certificate is too large