mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* keylist.c (show_policy_url, show_keyserver_url, show_notation)
(list_one): Use const char* for i18n string helpers. * keygen.c (do_generate_keypair, read_parameter_file): Really close the files. (do_generate_keypair): Create the secret key file using safe permissions. Noted by Atom Smasher.
This commit is contained in:
parent
69df506b84
commit
536841ecae
4 changed files with 35 additions and 4 deletions
|
@ -170,7 +170,7 @@ show_policy_url(PKT_signature *sig,int indent,int mode)
|
|||
if(mode!=2)
|
||||
{
|
||||
int i;
|
||||
char *str;
|
||||
const char *str;
|
||||
|
||||
for(i=0;i<indent;i++)
|
||||
putchar(' ');
|
||||
|
@ -211,7 +211,7 @@ show_keyserver_url(PKT_signature *sig,int indent,int mode)
|
|||
if(mode!=2)
|
||||
{
|
||||
int i;
|
||||
char *str;
|
||||
const char *str;
|
||||
|
||||
for(i=0;i<indent;i++)
|
||||
putchar(' ');
|
||||
|
@ -276,7 +276,7 @@ show_notation(PKT_signature *sig,int indent,int mode,int which)
|
|||
if((which&1 && !has_at) || (which&2 && has_at))
|
||||
{
|
||||
int i;
|
||||
char *str;
|
||||
const char *str;
|
||||
|
||||
for(i=0;i<indent;i++)
|
||||
putchar(' ');
|
||||
|
@ -397,7 +397,7 @@ list_one( STRLIST names, int secret )
|
|||
KBNODE keyblock = NULL;
|
||||
GETKEY_CTX ctx;
|
||||
const char *resname;
|
||||
char *keyring_str = _("Keyring");
|
||||
const char *keyring_str = _("Keyring");
|
||||
int i;
|
||||
struct sig_stats stats;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue