From 3fada688c0df6e3140e4fcaf59b9bcfcc7a70bf4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 10 Jun 2014 14:47:33 +0200 Subject: New error code GPG_ERR_KEY_DISABLED. --- NEWS | 1 + doc/errorref.txt | 5 +++++ src/err-codes.h.in | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 20e50dc..fbd5dff 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ Noteworthy changes in version 1.14 (unreleased) * Interface changes relative to the 1.13 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + GPG_ERR_KEY_DISABLED NEW. Noteworthy changes in version 1.13 (2014-04-15) diff --git a/doc/errorref.txt b/doc/errorref.txt index 1feb930..8c32971 100644 --- a/doc/errorref.txt +++ b/doc/errorref.txt @@ -528,6 +528,11 @@ GPG_ERR_MAC_ALGO 199 GPG_ERR_UNFINISHED Operation not yet finished 200 GPG_ERR_BUFFER_TOO_SHORT Buffer too short + +GPG_ERR_KEY_DISABLED Key disabled + + GNUPG: - The key has been disabled by the user. + GPG_ERR_KEY_ON_CARD Not possible with a card based key GNUPG: - The gpg-agent returns this if a DELETE_KEY commands is diff --git a/src/err-codes.h.in b/src/err-codes.h.in index ee2db2e..3459a56 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -247,8 +247,9 @@ 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 252 are free to be used. +# 214 to 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 254 GPG_ERR_INV_LOCK_OBJ Invalid lock object -- cgit v1.2.3