summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2023-04-06 10:15:08 +0200
committerWerner Koch <wk@gnupg.org>2023-04-06 10:15:08 +0200
commit0262cd3371cf9794be94851955fec099b0e1fab5 (patch)
tree7427143938cd34e678759b716a07eb91f83ee50a /src
parent1a382660855fb46da86980797acc50af1718c359 (diff)
downloadlibgpg-error-0262cd3371cf9794be94851955fec099b0e1fab5.tar.gz
core: New error codes for PUKs and reset codes.
* src/err-codes.h.in (GPG_ERR_BAD_PUK): New (GPG_ERR_NO_RESET_CODE, GPG_ERR_BAD_RESET_CODE): New. -- Also updated the German translation
Diffstat (limited to 'src')
-rw-r--r--src/err-codes.h.in3
-rw-r--r--src/gpg-error.h.in2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index c65775f..d8b2fb0 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -339,6 +339,9 @@
317 GPG_ERR_KEYBOXD Keybox daemon error
318 GPG_ERR_NO_SERVICE Service is not running
319 GPG_ERR_SERVICE Service error
+320 GPG_ERR_BAD_PUK Bad PUK
+321 GPG_ERR_NO_RESET_CODE No reset code
+322 GPG_ERR_BAD_RESET_CODE Bad reset code
# This range is free for use.
666 GPG_ERR_SYSTEM_BUG System bug detected
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in
index 8e22dde..94dc105 100644
--- a/src/gpg-error.h.in
+++ b/src/gpg-error.h.in
@@ -1084,7 +1084,7 @@ void _gpgrt_log_assert (const char *expr, const char *file, int line,
/*
* Spawn functions (Not yet available)
*/
-/* Internal flag to ihnerit file descriptor/handle */
+/* Internal flag to inherit file descriptor/handle */
#define GPGRT_SPAWN_INHERIT_FILE 1
#define GPGRT_SPAWN_NONBLOCK 16 /* Set the streams to non-blocking. */