summaryrefslogtreecommitdiff
path: root/src/err-codes.h.in
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2014-09-29 17:34:28 +0200
committerWerner Koch <wk@gnupg.org>2014-09-29 17:41:12 +0200
commitd58fa35e89feddb71feeba8e39a016cd37c4be29 (patch)
treee46b3b02096275fbd7bdb76a98d3f2244bb3349d /src/err-codes.h.in
parent1d3f2ac2165a76d0283f5487ff36883720f11169 (diff)
downloadlibgpg-error-d58fa35e89feddb71feeba8e39a016cd37c4be29.tar.gz
Add error codes for use by a TLS library.
Diffstat (limited to 'src/err-codes.h.in')
-rw-r--r--src/err-codes.h.in29
1 files changed, 28 insertions, 1 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 3459a56..9274530 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -247,7 +247,34 @@
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 251 are free to be used.
+# 214 to 225 are free to be used.
+
+226 GPG_ERR_NO_CERT_CHAIN No certificate chain
+227 GPG_ERR_CERT_TOO_LARGE Certificate is too large
+228 GPG_ERR_INV_RECORD Invalid record
+229 GPG_ERR_BAD_MAC The MAC does not verify
+230 GPG_ERR_UNEXPECTED_MSG Unexpected message
+231 GPG_ERR_COMPR_FAILED Compression or decompression failed
+232 GPG_ERR_WOULD_WRAP A counter would wrap
+233 GPG_ERR_FATAL_ALERT Fatal alert message received
+234 GPG_ERR_NO_CIPHER No cipher algorithm
+235 GPG_ERR_MISSING_CLIENT_CERT Missing client certificate
+236 GPG_ERR_CLOSE_NOTIFY Close notification received
+237 GPG_ERR_TICKET_EXPIRED Ticket expired
+238 GPG_ERR_BAD_TICKET Bad ticket
+239 GPG_ERR_UNKNOWN_IDENTITY Unknown identity
+240 GPG_ERR_BAD_HS_CERT Bad certificate message in handshake
+241 GPG_ERR_BAD_HS_CERT_REQ Bad certificate request message in handshake
+242 GPG_ERR_BAD_HS_CERT_VER Bad certificate verify message in handshake
+243 GPG_ERR_BAD_HS_CHANGE_CIPHER Bad change cipher messsage in handshake
+244 GPG_ERR_BAD_HS_CLIENT_HELLO Bad client hello message in handshake
+245 GPG_ERR_BAD_HS_SERVER_HELLO Bad server hello message in handshake
+246 GPG_ERR_BAD_HS_SERVER_HELLO_DONE Bad server hello done message in hanshake
+247 GPG_ERR_BAD_HS_FINISHED Bad finished message in handshake
+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 and 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