[test][ectest] Minor touches to custom_generator_test
authorNicola Tuveri <nic.tuv@gmail.com>
Tue, 21 Jul 2020 20:12:59 +0000 (23:12 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Wed, 29 Jul 2020 20:46:32 +0000 (23:46 +0300)
commitcfae32c69a0dde5a47fbd5aed4103fb01fc59acf
tree24022243d6468f3e392f559ce308b149d32f96c1
parentf5384f064ec2ef9f1975877da46e6f64c776427c
[test][ectest] Minor touches to custom_generator_test

Minor changes to `custom_generator_test`:

- this is to align to the 1.1.1 version of the test (simplify the code
  as there is no need to use `EC_GROUP_get_field_type()`)
- add comment to explain how the buffer size is computed

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12507)
test/ectest.c