Allow gcry_mpi_dump to print opaque MPIs.
authorWerner Koch <wk@gnupg.org>
Wed, 17 Jul 2013 14:55:02 +0000 (16:55 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 17 Jul 2013 14:55:02 +0000 (16:55 +0200)
commit364d019e3ffedfcb434576702f73e767cb9389ef
tree5d43e0c34d37345d9ed5721b8f18747919e04a9f
parent5940e66cbefea3de5924f494f18aed69bb694bff
Allow gcry_mpi_dump to print opaque MPIs.

* mpi/mpicoder.c (gcry_mpi_dump): Detect abd print opaque MPIs.
* tests/mpitests.c (test_opaque): New.
(main): Call new test.

Signed-off-by: Werner Koch <wk@gnupg.org>
mpi/mpicoder.c
tests/mpitests.c