mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-20 14:37:08 +01:00
Fixed uploading of keays.
This commit is contained in:
parent
e0af7eb379
commit
23380119ee
@ -1,3 +1,9 @@
|
|||||||
|
2006-06-28 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* app-openpgp.c (do_writekey): Fixed computation of memmove
|
||||||
|
length. This led to garbled keys if E was larger than one byte.
|
||||||
|
Thanks to Achim Pietig for hinting at the garbled E.
|
||||||
|
|
||||||
2006-06-27 Werner Koch <wk@g10code.com>
|
2006-06-27 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* gpg.c (reopen_std) [HAVE_W32_SYSTEM]: Do not use it.
|
* gpg.c (reopen_std) [HAVE_W32_SYSTEM]: Do not use it.
|
||||||
|
@ -1789,7 +1789,7 @@ do_writekey (app_t app, ctrl_t ctrl,
|
|||||||
if (rsa_e_len < 4)
|
if (rsa_e_len < 4)
|
||||||
{
|
{
|
||||||
/* Right justify E. */
|
/* Right justify E. */
|
||||||
memmove (tp+4-rsa_e_len, tp, 4-rsa_e_len);
|
memmove (tp+4-rsa_e_len, tp, rsa_e_len);
|
||||||
memset (tp, 0, 4-rsa_e_len);
|
memset (tp, 0, 4-rsa_e_len);
|
||||||
}
|
}
|
||||||
tp += 4;
|
tp += 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user