mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
0934d10e0f
commit
6ab8378c00
6 changed files with 77 additions and 51 deletions
16
g10/sign.c
16
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue