aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-04-11 14:27:41 +0000
committerWerner Koch <[email protected]>2013-04-11 14:27:41 +0000
commitd2e6d96dfd2acc855b244a972269adfcf477cd10 (patch)
tree4f367bdd1e59747c2e59955528651308cb1dfb2f /src
parentPost release vesion bump. (diff)
downloadlibgpg-error-d2e6d96dfd2acc855b244a972269adfcf477cd10.tar.gz
libgpg-error-d2e6d96dfd2acc855b244a972269adfcf477cd10.zip
Add GPG_ERR_*CRYPT_CTX* and GPG_ERR_BROKEN_*KEY.
* src/err-codes.h.in (GPG_ERR_NO_CRYPT_CTX): New. (GPG_ERR_WRONG_CRYPT_CTX, GPG_ERR_BAD_CRYPT_CTX): New. (GPG_ERR_CRYPT_CTX_CONFLICT): New. (GPG_ERR_BROKEN_PUBKEY, GPG_ERR_BROKEN_SECKEY): New.
Diffstat (limited to 'src')
-rw-r--r--src/err-codes.h.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index fd7030d..9c213de 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -220,8 +220,13 @@
188 GPG_ERR_UNKNOWN_CURVE Unknown elliptic curve
189 GPG_ERR_DUP_KEY Duplicated key
190 GPG_ERR_AMBIGUOUS Ambiguous result
-# 191 to 197 are free to be used.
-
+191 GPG_ERR_NO_CRYPT_CTX No crypto context
+192 GPG_ERR_WRONG_CRYPT_CTX Wrong crypto context
+193 GPG_ERR_BAD_CRYPT_CTX Bad crypto context
+194 GPG_ERR_CRYPT_CTX_CONFLICT Conflict in the crypto context
+195 GPG_ERR_BROKEN_PUBKEY Broken public key
+196 GPG_ERR_BROKEN_SECKEY Broken secret key
+# 197 is free to be used.
198 GPG_ERR_FULLY_CANCELED Operation fully cancelled
199 GPG_ERR_UNFINISHED Operation not yet finished
200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short