aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/ChangeLog25
-rw-r--r--g10/passphrase.c4
2 files changed, 27 insertions, 2 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index f42900b57..7db99bc20 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-09 Werner Koch <[email protected]>
+
+ * passphrase.c (agent_send_all_options): Use tty_get_ttyname to
+ get the default ttyname.
+
2002-11-05 David Shaw <[email protected]>
* keyedit.c (show_key_with_all_names_colon): Don't stick nulls
@@ -15,6 +20,26 @@
wipememory() instead of memset() to wipe sensitive memory as the
memset() might be optimized away.
+2002-10-30 Werner Koch <[email protected]>
+
+ * getkey.c (get_pubkey_direct): Renamed to...
+ (get_pubkey_fast): this and made extern.
+ (get_pubkey_byfprint_fast): New.
+ * import.c (import_one): Use get_pubkey_fast instead of
+ get_pubkey. We don't need a merged key and actually this might
+ lead to recursions.
+ (revocation_present): Likewise for search by fingerprint.
+
+ * g10.c (main): Try to create the trustdb even for non-colon-mode
+ list-key operations. This is required because getkey needs to
+ know whether a a key is ultimately trusted.
+
+2002-10-29 Werner Koch <[email protected]>
+
+ * encode.c (encode_simple): Make sure that files larger than about
+ 4G use partial length encoding. This is required because OpenPGP
+ allows only for 32 bit length fields.
+
2002-10-23 Werner Koch <[email protected]>
* pubkey-enc.c (get_it): Fix segv, test for revoked only when PK
diff --git a/g10/passphrase.c b/g10/passphrase.c
index bae55829d..e48c1c85a 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -360,8 +360,8 @@ agent_send_all_options (int fd)
return -1;
}
- if (!opt.ttyname && ttyname (1))
- dft_ttyname = ttyname (1);
+ if (!opt.ttyname)
+ dft_ttyname = tty_get_ttyname ();
if (opt.ttyname || dft_ttyname)
{
if (agent_send_option (fd, "ttyname",