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>
Tue, 27 Sep 2016 13:41:52 +0000 (09:41 -0400)
commita7511d72a32e13ab007f2f02fa1433965cbfe6ed
tree7b714559e3f58a8cb7afc2c3627a41f5e9848239
parent35c2aca31f943bf35a425128fb7068d52309bc94
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)
(cherry picked from commit 8ff70f3326983360c6f6306a1cd2238ef92d1f26)
test/bntest.c