1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00
This commit is contained in:
Werner Koch 2006-06-28 19:33:14 +00:00
parent cb117d7457
commit d91c7a06ff
2 changed files with 10 additions and 2 deletions

View File

@ -16,6 +16,9 @@
2006-06-28 Werner Koch <wk@g10code.com> 2006-06-28 Werner Koch <wk@g10code.com>
* import.c (check_prefs_warning): Fix change for better
translatability.
* app-openpgp.c (do_writekey): Fixed computation of memmove * app-openpgp.c (do_writekey): Fixed computation of memmove
length. This led to garbled keys if E was larger than one byte. length. This led to garbled keys if E was larger than one byte.
Thanks to Achim Pietig for hinting at the garbled E. Thanks to Achim Pietig for hinting at the garbled E.

View File

@ -563,8 +563,13 @@ print_import_check (PKT_public_key * pk, PKT_user_id * id)
static void static void
check_prefs_warning(PKT_public_key *pk) check_prefs_warning(PKT_public_key *pk)
{ {
log_info(_("WARNING: key %s contains preferences for unavailable\n" log_info(_("WARNING: key %s contains preferences for unavailable\n"),
"algorithms on these user IDs:\n"), keystr_from_pk(pk)); keystr_from_pk(pk));
/* TRANSLATORS: This string is belongs to the previous one. They are
only split up to allow printing of a common prefix. The
check_prefs_warning tag is a hack to make this string unique. */
log_info(_(" algorithms on these user IDs:\n"
"\0" "check_prefs_warning"));
} }
static void static void