aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-08-29 16:18:30 +0000
committerWerner Koch <[email protected]>2006-08-29 16:18:30 +0000
commitd8602648b8c27a008dfaef981cc35cf9107976bb (patch)
tree86a948495992bd0a2da7eb0e4b6e102108814d70 /g10/mainproc.c
parentAllow for 4k ssh keys and better error reporting. (diff)
downloadgnupg-d8602648b8c27a008dfaef981cc35cf9107976bb.tar.gz
gnupg-d8602648b8c27a008dfaef981cc35cf9107976bb.zip
See ChangeLogs
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 45d9d34a5..af3aac70f 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -681,13 +681,10 @@ proc_plaintext( CTX c, PACKET *pkt )
}
rc = handle_plaintext( pt, &c->mfx, c->sigs_only, clearsig );
- if (rc)
- log_debug ("handle_plaintext failed: err=%d\n", rc);
- if( gpg_err_code (rc) == GPG_ERR_ENOENT && !c->sigs_only)
+ if ( gpg_err_code (rc) == GPG_ERR_EACCES && !c->sigs_only )
{
-#warning We need to change the test for the error code
- /* Can't write output but we hash it anyway to
- * Check the signature. */
+ /* Can't write output but we hash it anyway to check the
+ signature. */
rc = handle_plaintext( pt, &c->mfx, 1, clearsig );
}