diff options
author | Werner Koch <wk@gnupg.org> | 2013-08-30 17:04:21 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-08-30 17:04:21 +0200 |
commit | e9b711e6ddb480a71d2996465074e436c752c005 (patch) | |
tree | a840700ffbf21ab8b1a26c2ee60494ac6266097b /tests/Makefile.am | |
parent | 800d4e01376d52a94a157b53978c7c3f957fc476 (diff) | |
download | libgcrypt-e9b711e6ddb480a71d2996465074e436c752c005.tar.gz |
mpi: Make gcry_mpi_print work with negative zeroes.
* mpi/mpicoder.c (gcry_mpi_print): Take care of negative zero.
(gcry_mpi_aprint): Allocate at least 1 byte.
* tests/t-convert.c: New.
* tests/Makefile.am (TESTS): Add t-convert.
--
Reported-by: Christian Fuchs
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 871e32b7..35bcd60b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -18,7 +18,7 @@ ## Process this file with automake to produce Makefile.in -TESTS = version t-mpi-bit t-mpi-point prime basic \ +TESTS = version t-convert t-mpi-bit t-mpi-point prime basic \ mpitests tsexp keygen pubkey hmac keygrip fips186-dsa aeswrap \ curves t-kdf pkcs1v2 random dsa-rfc6979 |