]> git.ipfire.org Git - thirdparty/openssl.git/commit
[test] Make sm2_internal_test less fragile to changes in the ec module
authorBilly Brumley <bbrumley@gmail.com>
Sun, 29 Mar 2020 07:38:37 +0000 (10:38 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Wed, 1 Apr 2020 15:50:20 +0000 (18:50 +0300)
commit09736245b174a37abb87fb7ceb55462d940ff2bb
treed349d305fd51f190350633ab78096b5adb480966
parentcd81ac7be309881b282ce517f902d211a26d8b42
[test] Make sm2_internal_test less fragile to changes in the ec module

Since these are KATs, the trailing randomness consumed by the ec module
does not really matter. So make the fake random buffer circular.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/11435)
test/sm2_internal_test.c