gpg: Fix broken write of opaque MPI length header.
authorWerner Koch <wk@gnupg.org>
Mon, 16 Mar 2015 18:51:06 +0000 (19:51 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 16 Mar 2015 18:51:06 +0000 (19:51 +0100)
commit8bc1debfefb7cd4b0be724317793d59dea37d677
tree6837fb812d20bc7927dee4234f9a5c09264fdf88
parent1a9f13bc663daa75c5009f6a0bf7d7483f12cce0
gpg: Fix broken write of opaque MPI length header.

* g10/build-packet.c (gpg_mpi_write): Use a char array for the length.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/build-packet.c