aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/mainproc.c9
2 files changed, 7 insertions, 6 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 03a97363f..765ac770d 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-22 Werner Koch <[email protected]>
+
+ * mainproc.c (proc_plaintext): Fixed a #warning
+
2006-08-21 Werner Koch <[email protected]>
* skclist.c (random_is_faked): Implemented.
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 );
}