aboutsummaryrefslogtreecommitdiffstats
path: root/g10/status.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-08-19 08:28:00 +0000
committerWerner Koch <[email protected]>2002-08-19 08:28:00 +0000
commit89f8e7ef36cdb8bab9f239f49efc70f49a050ce5 (patch)
tree82df2556872bb28040ec2bec958bd0abf4659b88 /g10/status.c
parent2002-08-16 Timo Schulz <[email protected]> (diff)
downloadgnupg-89f8e7ef36cdb8bab9f239f49efc70f49a050ce5.tar.gz
gnupg-89f8e7ef36cdb8bab9f239f49efc70f49a050ce5.zip
* getkey.c (get_user_id_native): Renamed to ..
(get_user_id_printable): this. Filter out all dangerous characters. Checked all usages. (get_user_id_string_native): Renamed to.. (get_user_id_string_printable): this. Filter out all dangerous characters. Checked all usages. * keyedit.c (show_basic_key_info): New. * keylist.c (print_fingerprint): New mode 3. * import.c (import_one): Use new function to display the user ID.
Diffstat (limited to '')
-rw-r--r--g10/status.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/status.c b/g10/status.c
index e0b126b78..515be0c6e 100644
--- a/g10/status.c
+++ b/g10/status.c
@@ -642,10 +642,10 @@ cpr_get_answer_is_yes( const char *keyword, const char *prompt )
if( opt.command_fd != -1 )
return !!do_get_from_fd ( keyword, 0, 1 );
- #ifdef USE_SHM_COPROCESSING
+#ifdef USE_SHM_COPROCESSING
if( opt.shm_coprocess )
return !!do_shm_get( keyword, 0, 1 );
- #endif
+#endif
for(;;) {
p = tty_get( prompt );
trim_spaces(p); /* it is okay to do this here */
@@ -670,10 +670,10 @@ cpr_get_answer_yes_no_quit( const char *keyword, const char *prompt )
if( opt.command_fd != -1 )
return !!do_get_from_fd ( keyword, 0, 1 );
- #ifdef USE_SHM_COPROCESSING
+#ifdef USE_SHM_COPROCESSING
if( opt.shm_coprocess )
return !!do_shm_get( keyword, 0, 1 );
- #endif
+#endif
for(;;) {
p = tty_get( prompt );
trim_spaces(p); /* it is okay to do this here */