From 74abfcf0c3ba7cd6ce36540c70699fc1719248b3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 2 Oct 2014 10:50:57 +0200 Subject: Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending. * src/visibility.c (gpgrt_pending, gpgrt_pending_unlocked): New. * src/estream.c (_gpgrt_pending, _gpgrt_pending_unlocked): New. (check_pending): new. (check_pending_fbf, check_pending_nbf): New. (es_func_mem_read, es_func_fd_read, es_func_w32_read) (es_func_fp_read, es_fill): Take care of the special 0 value for SIZE. --- src/err-codes.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/err-codes.h.in') diff --git a/src/err-codes.h.in b/src/err-codes.h.in index 9274530..704049c 100644 --- a/src/err-codes.h.in +++ b/src/err-codes.h.in @@ -273,8 +273,8 @@ 247 GPG_ERR_BAD_HS_FINISHED Bad finished message in handshake 248 GPG_ERR_BAD_HS_SERVER_KEX Bad server key exchange message in handshake 249 GPG_ERR_BAD_HS_CLIENT_KEX Bad client key exchange message in handshake - -# 250 and 251 are free to be used. +250 GPG_ERR_BOGUS_STRING Bogus string +# 251 is free to be used. 252 GPG_ERR_KEY_DISABLED Key disabled 253 GPG_ERR_KEY_ON_CARD Not possible with a card based key -- cgit v1.2.3