aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-10-28 22:09:09 +0000
committerDavid Shaw <[email protected]>2004-10-28 22:09:09 +0000
commit6ab8378c00828a4ec6919afc3710a75e93ba0502 (patch)
tree2aeb5039af192500983f8a70e6db0845d3f87de0 /g10/sign.c
parent* DETAILS: Document SIG_SUBPACKET status tag. (diff)
downloadgnupg-6ab8378c00828a4ec6919afc3710a75e93ba0502.tar.gz
gnupg-6ab8378c00828a4ec6919afc3710a75e93ba0502.zip
* skclist.c (build_sk_list): Don't need to warn about PGP-generated
Elgamal signing keys since we no longer support any Elgamal signing keys. * sign.c (sign_file, clearsign_file): Use "writing to" instead of "writing to file" to match other strings. * pkclist.c (check_signatures_trust): Fix typo. Noted by Moray Allan. This is Debian bug #278708. * passphrase.c (ask_passphrase, passphrase_to_dek): "password" -> "passphrase". * keyedit.c (show_key_with_all_names): Show designated revoker as part of translatable string.
Diffstat (limited to '')
-rw-r--r--g10/sign.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 5a0b0ed67..ee0d99f39 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -774,13 +774,14 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr,
}
else
out = iobuf_create( outfile );
- if( !out ) {
+ if( !out )
+ {
log_error(_("can't create `%s': %s\n"), outfile, strerror(errno) );
rc = G10ERR_CREATE_FILE;
goto leave;
- }
+ }
else if( opt.verbose )
- log_info(_("writing to file `%s'\n"), outfile );
+ log_info(_("writing to `%s'\n"), outfile );
}
else if( (rc = open_outfile( fname, opt.armor? 1: detached? 2:0, &out )))
goto leave;
@@ -910,7 +911,7 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr,
if( !inp )
{
log_error(_("can't open `%s': %s\n"),
- sl->d, strerror(errno) );
+ sl->d,strerror(errno));
rc = G10ERR_OPEN_FILE;
goto leave;
}
@@ -1031,13 +1032,14 @@ clearsign_file( const char *fname, STRLIST locusr, const char *outfile )
}
else
out = iobuf_create( outfile );
- if( !out ) {
+ if( !out )
+ {
log_error(_("can't create `%s': %s\n"), outfile, strerror(errno) );
rc = G10ERR_CREATE_FILE;
goto leave;
- }
+ }
else if( opt.verbose )
- log_info(_("writing to file `%s'\n"), outfile );
+ log_info(_("writing to `%s'\n"), outfile );
}
else if( (rc = open_outfile( fname, 1, &out )) )
goto leave;