From d0c0963b90e3d13978ca3026bc57e44b337c7cb5 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 27 May 2003 02:26:55 +0000 Subject: [PATCH] 2003-05-27 Marcus Brinkmann * passphrase.c (_gpgme_passphrase_command_handler_internal): Fix access to pointer type. --- gpgme/ChangeLog | 5 +++++ gpgme/passphrase.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 5dca1cb..c8753b8 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2003-05-27 Marcus Brinkmann + + * passphrase.c (_gpgme_passphrase_command_handler_internal): Fix + access to pointer type. + 2003-05-26 Marcus Brinkmann * engine.h (EngineCommandHandler): Change last argument to int fd. diff --git a/gpgme/passphrase.c b/gpgme/passphrase.c index dad29fb..f30dd76 100644 --- a/gpgme/passphrase.c +++ b/gpgme/passphrase.c @@ -133,7 +133,7 @@ _gpgme_passphrase_command_handler_internal (void *priv, if (code == GPGME_STATUS_GET_HIDDEN && !strcmp (key, "passphrase.enter")) { if (processed) - processed = 1; + *processed = 1; err = ctx->passphrase_cb (ctx->passphrase_cb_value, opd->uid_hint, opd->passphrase_info, -- 2.26.2