aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keylist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-05-11 07:43:19 +0000
committerWerner Koch <[email protected]>2004-05-11 07:43:19 +0000
commit536841ecae596e6f7f0448c59722c8e997963cb4 (patch)
tree696933cb8829111e71f8f1e49ac069f128e12b33 /g10/keylist.c
parent* options.h, mainproc.c (symkey_decrypt_seskey), keyserver.c (struct (diff)
downloadgnupg-536841ecae596e6f7f0448c59722c8e997963cb4.tar.gz
gnupg-536841ecae596e6f7f0448c59722c8e997963cb4.zip
* 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.
Diffstat (limited to 'g10/keylist.c')
-rw-r--r--g10/keylist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/keylist.c b/g10/keylist.c
index 421d2c1e9..091e1dc46 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -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;