aboutsummaryrefslogtreecommitdiffstats
path: root/src/err-codes.h.in
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-02-11 07:44:50 +0000
committerWerner Koch <[email protected]>2019-02-11 07:44:50 +0000
commit0318ce6fbc756c4d3a9201472c7dcbedd91bf885 (patch)
tree9c57ae28d7b59c448ac7ee21f178b549f34c931f /src/err-codes.h.in
parentbuild: Fix for Microsoft MSVC. (diff)
downloadlibgpg-error-0318ce6fbc756c4d3a9201472c7dcbedd91bf885.tar.gz
libgpg-error-0318ce6fbc756c4d3a9201472c7dcbedd91bf885.zip
New error codes NO_AUTH and BAD_AUTH
-- In particular for PIV cards ithe use of BAD_PIN sounds worong, thus we now use dedicated codes. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/err-codes.h.in')
-rw-r--r--src/err-codes.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 2667d71..33e79da 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -333,6 +333,8 @@
311 GPG_ERR_ALREADY_FETCHED Already fetched
312 GPG_ERR_TRY_LATER Try again later
313 GPG_ERR_WRONG_NAME Wrong name
+314 GPG_ERR_NO_AUTH Not authenticated
+315 GPG_ERR_BAD_AUTH Bad authentication
# This range is free for use.
666 GPG_ERR_SYSTEM_BUG System bug detected