aboutsummaryrefslogtreecommitdiffstats
path: root/g10/passphrase.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-11-13 13:23:03 +0000
committerDavid Shaw <[email protected]>2002-11-13 13:23:03 +0000
commit365011c8f1cf6d73d44503a65b63ffb5bede8065 (patch)
tree6884702eb04d35dbe3a1b9f2a2bf7caa2d143dbf /g10/passphrase.c
parent* config.sub, config.guess: Updated from ftp.gnu.org/gnu/config (diff)
downloadgnupg-365011c8f1cf6d73d44503a65b63ffb5bede8065.tar.gz
gnupg-365011c8f1cf6d73d44503a65b63ffb5bede8065.zip
* keyedit.c (show_key_with_all_names_colon): Make --with-colons --edit
display match the validity and trust of --with-colons --list-keys. * passphrase.c (agent_send_all_options): Fix compile warning. * keylist.c (list_keyblock_colon): Validity for subkeys should match that of the primary key, and not that of the last user ID. * getkey.c (merge_selfsigs): Revoked/expired/invalid primary keys carry these facts onto all their subkeys, but only after the subkey has a chance to be marked valid. This is to fix an incorrect "invalid public key" error verifying a signature made by a revoked signing subkey, with a valid unrevoked primary key.
Diffstat (limited to '')
-rw-r--r--g10/passphrase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/passphrase.c b/g10/passphrase.c
index ff733d02a..0b65e2e1c 100644
--- a/g10/passphrase.c
+++ b/g10/passphrase.c
@@ -346,7 +346,7 @@ static int
agent_send_all_options (int fd)
{
char *dft_display = NULL;
- char *dft_ttyname = NULL;
+ const char *dft_ttyname = NULL;
char *dft_ttytype = NULL;
char *old_lc = NULL;
char *dft_lc = NULL;