tools: Fix error handling for gpg-pair-tool.

* tools/gpg-pair-tool.c (read_message): Initialize ERR.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2019-06-20 11:29:27 +09:00
parent 5a5288d051
commit d5287f43fd
1 changed files with 1 additions and 1 deletions

View File

@ -976,7 +976,7 @@ read_message (unsigned char **r_msg, size_t *r_msglen, int *r_msgtype,
static gpg_error_t
display_sas (const unsigned char *hash, size_t hashlen, int wait)
{
gpg_error_t err;
gpg_error_t err = 0;
unsigned long sas = 0;
char sasbuf[12];