summaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
authorMoritz Schulte <mo@g10code.com>2004-01-18 23:48:49 +0100
committerMoritz Schulte <mo@g10code.com>2004-01-18 23:48:49 +0100
commit36cbfed6fcdaaeda951120d6a596d9b9a665c850 (patch)
treec99eef4a7ba06c2b3e27cb7380f9ebaee52978a4 /g10
parent(main): Need to use FD_ISSET for the client (diff)
downloadgnupg2-36cbfed6fcdaaeda951120d6a596d9b9a665c850.tar.xz
gnupg2-36cbfed6fcdaaeda951120d6a596d9b9a665c850.zip
2004-01-18 Moritz Schulte <mo@g10code.com>
* keygen.c (do_generate_keypair): Print member fname, instead of newfname.
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog5
-rw-r--r--g10/keygen.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index f3399b510..f4fb088ca 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-18 Moritz Schulte <mo@g10code.com>
+
+ * keygen.c (do_generate_keypair): Print member fname, instead of
+ newfname.
+
2003-12-17 Werner Koch <wk@gnupg.org>
* card-util.c (print_name): Fixed bad format string usage.
diff --git a/g10/keygen.c b/g10/keygen.c
index 935cff330..309a6ea85 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -1,6 +1,6 @@
/* keygen.c - generate a key pair
* Copyright (C) 1998, 1999, 2000, 2001, 2002,
- * 2003 Free Software Foundation, Inc.
+ * 2003, 2004 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -2452,7 +2452,7 @@ do_generate_keypair (struct para_data_s *para,
outctrl->pub.stream = iobuf_create (outctrl->pub.fname);
if (!outctrl->pub.stream)
{
- log_error ("can't create `%s': %s\n", outctrl->pub.newfname,
+ log_error ("can't create `%s': %s\n", outctrl->pub.fname,
strerror (errno));
return;
}