]> git.ipfire.org Git - thirdparty/openssl.git/commit
TEST: Enable and fix test_bn2padded() in test/bntest.c
authorRichard Levitte <levitte@openssl.org>
Thu, 25 Nov 2021 08:55:09 +0000 (09:55 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 30 Nov 2021 08:59:19 +0000 (09:59 +0100)
commit162bd56e99b2e73cfdc6777acb3f1b3dafccc9ba
treebaf3864927d922f96495992ed3ef9ec3ce1628c9
parent37dc4f9530d131b4f581582c34c08074abbc9923
TEST: Enable and fix test_bn2padded() in test/bntest.c

This looks like old code, written when the padded variety of BN_bn2bin()
was developped, and disabled by default...  and forgotten.

A few simple changes to update it to the current API is all that was
needed to enable it.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17133)

(cherry picked from commit 23750f677ef61b6bea4e81f23f335ad08fc49b51)
test/bntest.c