aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encode.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/encode.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 'g10/encode.c')
-rw-r--r--g10/encode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/encode.c b/g10/encode.c
index 417685f12..4811e4e88 100644
--- a/g10/encode.c
+++ b/g10/encode.c
@@ -719,8 +719,8 @@ write_pubkey_enc_from_list( PK_LIST pk_list, DEK *dek, IOBUF out )
log_error("pubkey_encrypt failed: %s\n", g10_errstr(rc) );
else {
if( opt.verbose ) {
- char *ustr = get_user_id_string_native( enc->keyid );
- log_info(_("%s/%s encrypted for: %s\n"),
+ char *ustr = get_user_id_string_printable (enc->keyid);
+ log_info(_("%s/%s encrypted for: \"%s\"\n"),
pubkey_algo_to_string(enc->pubkey_algo),
cipher_algo_to_string(dek->algo), ustr );
m_free(ustr);