2003-05-27 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 27 May 2003 02:26:55 +0000 (02:26 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 27 May 2003 02:26:55 +0000 (02:26 +0000)
* passphrase.c (_gpgme_passphrase_command_handler_internal): Fix
access to pointer type.

trunk/gpgme/ChangeLog
trunk/gpgme/passphrase.c

index 5dca1cbb507d148dfa66fa4d3012b6723ac6dc6c..c8753b896e852ba1ecc6ee29f66982561603bb41 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-27  Marcus Brinkmann  <marcus@g10code.de>
+
+       * passphrase.c (_gpgme_passphrase_command_handler_internal): Fix
+       access to pointer type.
+
 2003-05-26  Marcus Brinkmann  <marcus@g10code.de>
 
        * engine.h (EngineCommandHandler): Change last argument to int fd.
index dad29fb38a68bb833e420ca0860e9fa527e7d84f..f30dd7620ca7a5b0dc13a1da1401ebf248682b82 100644 (file)
@@ -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,