diff options
| author | Werner Koch <[email protected]> | 2009-11-17 13:06:05 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2009-11-17 13:06:05 +0000 | 
| commit | 1cb08a35a6eb214202b196aa2e69dafb0ef5aebd (patch) | |
| tree | 146e32d6bdb8bfba0fba7d96c3041ce563db08bf /src/sign.c | |
| parent | 2009-11-10 Marcus Brinkmann <[email protected]> (diff) | |
| download | gpgme-1cb08a35a6eb214202b196aa2e69dafb0ef5aebd.tar.gz gpgme-1cb08a35a6eb214202b196aa2e69dafb0ef5aebd.zip | |
Fixes for the UI server engine .
Diffstat (limited to '')
| -rw-r--r-- | src/sign.c | 6 | 
1 files changed, 5 insertions, 1 deletions
| @@ -286,9 +286,13 @@ _gpgme_sign_status_handler (void *priv, gpgme_status_code_t code, char *args)        break;      case GPGME_STATUS_EOF: +      /* The UI server does not send information about the created +         signature.  This is irrelevant for this protocol and thus we +         should not check for that.  */        if (opd->result.invalid_signers)  	err = gpg_error (GPG_ERR_UNUSABLE_SECKEY); -      else if (!opd->sig_created_seen) +      else if (!opd->sig_created_seen +               && ctx->protocol != GPGME_PROTOCOL_UISERVER)  	err = gpg_error (GPG_ERR_GENERAL);        break; | 
