From d8602648b8c27a008dfaef981cc35cf9107976bb Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 29 Aug 2006 16:18:30 +0000 Subject: See ChangeLogs --- g10/mainproc.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'g10/mainproc.c') 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 ); } -- cgit v1.2.3