aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/openfile.c')
-rw-r--r--g10/openfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index 460b4449e..c43cbd7e9 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -257,7 +257,7 @@ open_sigfile( const char *iname )
buf = m_strdup(iname);
buf[len-4] = 0 ;
a = iobuf_open( buf );
- if( opt.verbose )
+ if( a && opt.verbose )
log_info(_("assuming signed data in `%s'\n"), buf );
m_free(buf);
}