1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Fixed uploading of keays.

This commit is contained in:
Werner Koch 2006-06-28 09:37:42 +00:00
parent e0af7eb379
commit 23380119ee
2 changed files with 7 additions and 1 deletions

View file

@ -1789,7 +1789,7 @@ do_writekey (app_t app, ctrl_t ctrl,
if (rsa_e_len < 4)
{
/* 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);
}
tp += 4;