diff options
author | Werner Koch <[email protected]> | 2025-05-16 10:23:05 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-05-16 10:23:05 +0000 |
commit | cda4789a9f7dd9356bd7ae7d3eea02ff0055773c (patch) | |
tree | 7c9c90d28043d9656d14c264e5b5694190878919 /src | |
parent | Post release updates (diff) | |
download | libgpg-error-cda4789a9f7dd9356bd7ae7d3eea02ff0055773c.tar.gz libgpg-error-cda4789a9f7dd9356bd7ae7d3eea02ff0055773c.zip |
Time for a new error code; this time GPG_ERR_UNEXPECTED_PACKET
--
We already have _tag which is used for ASN.1, _MSG which is used by
protocols like WKS and TLS, and the GPG_ERR_UNEXPECTED which is
unrelated the former one and means just that an error was not
expected. OpenPGP also has some cases where a packet is not expected.
A dedicated error code thus makes sense.
Diffstat (limited to 'src')
-rw-r--r-- | src/err-codes.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in index d8b2fb0..15c543f 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -248,6 +248,7 @@ 213 GPG_ERR_SEXP_BAD_OCT_CHAR Bad octal character in S-expression # 214 to 216 are free to be used. +216 GPG_ERR_UNEXPECTED_PACKET Unexpected packet 217 GPG_ERR_SUBKEYS_EXP_OR_REV All subkeys are expired or revoked 218 GPG_ERR_DB_CORRUPTED Database is corrupted 219 GPG_ERR_SERVER_FAILED Server indicated a failure |