Add a basic test for BN_bn2dec.
authorDavid Benjamin <davidben@google.com>
Thu, 25 Aug 2016 21:45:20 +0000 (17:45 -0400)
committerRich Salz <rsalz@openssl.org>
Mon, 26 Sep 2016 15:03:37 +0000 (11:03 -0400)
commit8ff70f3326983360c6f6306a1cd2238ef92d1f26
tree17ffc2d6e15e07e82a102ae225964fbab1d57353
parent98c1f5b429d036c0370de15f4d6851eed41fa5b3
Add a basic test for BN_bn2dec.

This would have caught 099e2968ed3c7d256cda048995626664082b1b30. This is
a port of the test added in
https://boringssl.googlesource.com/boringssl/+/7c040756178e14a4d181b6d93abb3827c93189c4

Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1496)
test/bntest.c