diff options
author | Werner Koch <[email protected]> | 2006-02-14 18:39:24 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-02-14 18:39:24 +0000 |
commit | 820225458175ed521bd83143fe7aa176d57801e4 (patch) | |
tree | 8229b747a419b5d0cbd6d85f0af9b80f6ff8e329 /g10/verify.c | |
parent | This commit was manufactured by cvs2svn to create tag 'V1-4-2'. (diff) | |
download | gnupg-1-4-2.tar.gz gnupg-1-4-2.zip |
Security fixV1-4-2
Diffstat (limited to 'g10/verify.c')
-rw-r--r-- | g10/verify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/verify.c b/g10/verify.c index a08a71291..4a58557f6 100644 --- a/g10/verify.c +++ b/g10/verify.c @@ -113,7 +113,7 @@ verify_signatures( int nfiles, char **files ) rc = proc_signature_packets( NULL, fp, sl, sigfile ); free_strlist(sl); iobuf_close(fp); - if( afx.no_openpgp_data && rc == -1 ) { + if( (afx.no_openpgp_data && rc == -1) || rc == G10ERR_NO_DATA ) { log_error(_("the signature could not be verified.\n" "Please remember that the signature file (.sig or .asc)\n" "should be the first file given on the command line.\n") ); |