diff options
author | Werner Koch <wk@gnupg.org> | 2011-02-01 19:54:45 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-02-01 19:56:49 +0100 |
commit | 9599e0d1d2e8eee0737970c0e712bc2495dfb206 (patch) | |
tree | 7d635bccdadc8dd40b3db6f6534fe7c41ccbd5a5 | |
parent | 37a754389bd4bdd8c3f9dc0010a91c8b3ab20fd1 (diff) | |
download | libgpg-error-9599e0d1d2e8eee0737970c0e712bc2495dfb206.tar.gz |
Add GPG_ERR_INV_CURVE and GPG_ERR_UNKNOWN_CURVE
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | doc/errorref.txt | 25 | ||||
-rw-r--r-- | src/err-codes.h.in | 16 |
4 files changed, 39 insertions, 12 deletions
@@ -1,3 +1,7 @@ +2011-02-01 Werner Koch <wk@g10code.com> + + * src/err-codes.h.in: Add GPG_ERR_INV_CURVE and GPG_ERR_UNKNOWN_CURVE. + 2011-01-06 Werner Koch <wk@g10code.com> * src/err-codes.h.in: Add GPG_ERR_NO_KEYSERVER. @@ -5,6 +5,8 @@ Noteworthy changes in version 1.11 (unreleased) * Interface changes relative to the 1.10 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GPG_ERR_NO_KEYSERVER NEW. + GPG_ERR_INV_CURVE NEW. + GPG_ERR_UNKNOWN_CURVE NEW. Noteworthy changes in version 1.10 (2010-10-26) @@ -47,7 +49,7 @@ Noteworthy changes in version 1.8 (2010-05-06) GPG_ERR_SOURCE_G13 NEW. GPG_ERR_NO_ENGINE NEW. gpg_err_set_errno NEW. - + Noteworthy changes in version 1.7 (2008-11-26) ---------------------------------------------- @@ -98,7 +100,7 @@ Noteworthy changes in version 1.4 (2006-09-14) libgpg-error even if a specific source is not available. * New convenience functions gpg_err_code_from_syserror and - gpg_error_from_syserror which make sure never to return 0. + gpg_error_from_syserror which make sure never to return 0. * Interface changes relative to the 1.2 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/errorref.txt b/doc/errorref.txt index 00f4e34..7a17842 100644 --- a/doc/errorref.txt +++ b/doc/errorref.txt @@ -270,7 +270,14 @@ GPG_ERR_INV_NAME Invalid name 118 GPG_ERR_INV_ID Invalid ID 119 GPG_ERR_NO_SCDAEMON No SmartCard daemon 120 GPG_ERR_SCDAEMON SmartCard daemon error -121 GPG_ERR_UNSUPPORTED_PROTOCOL Unsupported protocol + +GPG_ERR_UNSUPPORTED_PROTOCOL Unsupported protocol + + GPG: - An unsupported keyserver protocol. + GPG_AGENT: - Invalid shadow_info protocol (not "t1-v1") + LIBKSBA: - Unknown OID of the OCSP response bytes + GPGME: - GPGME_PROTOCOL_xxx not supported. + 122 GPG_ERR_BAD_PIN_METHOD Bad PIN method 123 GPG_ERR_CARD_NOT_INITIALIZED Card not initialized 124 GPG_ERR_UNSUPPORTED_OPERATION Unsupported operation @@ -304,7 +311,10 @@ GPG_ERR_INV_LENGTH Invalid length GNUPG: - Invalid hash length for a pubkey [more to come] -140 GPG_ERR_INV_KEYINFO Invalid key info +GPG_ERR_INV_KEYINFO Invalid key info + + KSBA: - Returned if the ASN.1 Keyinfo structure is not valid + 141 GPG_ERR_UNEXPECTED_TAG Unexpected tag 142 GPG_ERR_NOT_DER_ENCODED Not DER encoded 143 GPG_ERR_NO_CMS_OBJ No CMS object @@ -352,6 +362,11 @@ GPG_ERR_INV_CERT_OBJ Invalid certificate object 165 GPG_ERR_UNKNOWN_NAME Unknown name + + Used by GPG to indicate an unknown ECC curve name (may also + indicate missing ECC support). + + 166 GPG_ERR_LOCALE_PROBLEM A locale function failed 167 GPG_ERR_NOT_LOCKED Not locked 168 GPG_ERR_PROTOCOL_VIOLATION Protocol violation @@ -368,8 +383,12 @@ GPG_ERR_INV_CERT_OBJ Invalid certificate object 179 GPG_ERR_NOT_ENABLED Not enabled 180 GPG_ERR_NO_ENGINE No crypto engine 181 GPG_ERR_MISSING_KEY Missing key -182 GPG_ERR_TOO_MANY Too many objects +GPG_ERR_TOO_MANY Too many objects + + GPG: - Dirmngr KS_GET called with too many pattern so that the + maximum Assuan line length would overflow. + GPGME: - To many patterns in gpgme-tools's KEYLIST command. GPG_ERR_NO_KEYSERVER No keyserver available diff --git a/src/err-codes.h.in b/src/err-codes.h.in index 9560384..8bf8d87 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -8,12 +8,12 @@ modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - + libgpg-error is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License along with libgpg-error; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA @@ -159,10 +159,10 @@ 127 GPG_ERR_WRONG_BLOB_TYPE Wrong blob type 128 GPG_ERR_MISSING_VALUE Missing value 129 GPG_ERR_HARDWARE Hardware problem -130 GPG_ERR_PIN_BLOCKED PIN blocked -131 GPG_ERR_USE_CONDITIONS Conditions of use not satisfied +130 GPG_ERR_PIN_BLOCKED PIN blocked +131 GPG_ERR_USE_CONDITIONS Conditions of use not satisfied 132 GPG_ERR_PIN_NOT_SYNCED PINs are not synced -133 GPG_ERR_INV_CRL Invalid CRL +133 GPG_ERR_INV_CRL Invalid CRL 134 GPG_ERR_BAD_BER BER error 135 GPG_ERR_INV_BER Invalid BER 136 GPG_ERR_ELEMENT_NOT_FOUND Element not found @@ -216,7 +216,9 @@ 184 GPG_ERR_NOT_INITIALIZED Not initialized 185 GPG_ERR_MISSING_ISSUER_CERT Missing issuer certificate 186 GPG_ERR_NO_KEYSERVER No keyserver available -# 186 to 197 are free to be used. +187 GPG_ERR_INV_CURVE Invalid elliptic curve +188 GPG_ERR_UNKNOWN_CURVE Unknown elliptic curve +# 189 to 197 are free to be used. 198 GPG_ERR_FULLY_CANCELED Operation fully cancelled 199 GPG_ERR_UNFINISHED Operation not yet finished @@ -264,7 +266,7 @@ 277 GPG_ERR_ASS_CANCELED IPC call has been cancelled 278 GPG_ERR_ASS_NO_INPUT No input source for IPC 279 GPG_ERR_ASS_NO_OUTPUT No output source for IPC -280 GPG_ERR_ASS_PARAMETER IPC parameter error +280 GPG_ERR_ASS_PARAMETER IPC parameter error 281 GPG_ERR_ASS_UNKNOWN_INQUIRE Unknown IPC inquire # 282 to 299 are reserved for future assuan codes. |