summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-06-10 14:47:33 +0200
committerWerner Koch <wk@gnupg.org>2014-06-10 14:48:11 +0200
commit3fada688c0df6e3140e4fcaf59b9bcfcc7a70bf4 (patch)
tree12321a86f5798f335ec5671c656ef1660a8b1b83
parent2f4e8c33b88d3492ed29903b0684428cc9d4281e (diff)
downloadlibgpg-error-3fada688c0df6e3140e4fcaf59b9bcfcc7a70bf4.tar.gz
New error code GPG_ERR_KEY_DISABLED.
-rw-r--r--NEWS1
-rw-r--r--doc/errorref.txt5
-rw-r--r--src/err-codes.h.in3
3 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 20e50dc..fbd5dff 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ Noteworthy changes in version 1.14 (unreleased)
* Interface changes relative to the 1.13 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ GPG_ERR_KEY_DISABLED NEW.
Noteworthy changes in version 1.13 (2014-04-15)
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 1feb930..8c32971 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -528,6 +528,11 @@ GPG_ERR_MAC_ALGO
199 GPG_ERR_UNFINISHED Operation not yet finished
200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short
+
+GPG_ERR_KEY_DISABLED Key disabled
+
+ GNUPG: - The key has been disabled by the user.
+
GPG_ERR_KEY_ON_CARD Not possible with a card based key
GNUPG: - The gpg-agent returns this if a DELETE_KEY commands is
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index ee2db2e..3459a56 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -247,8 +247,9 @@
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 252 are free to be used.
+# 214 to 251 are free to be used.
+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