aboutsummaryrefslogtreecommitdiff
path: root/test/ectest.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-04-02 10:55:00 +1000
committerNicola Tuveri <nic.tuv@gmail.com>2019-04-11 12:05:38 +0300
commit37f03b9881a4ffa52b0059ae444be3c416cf2a5f (patch)
tree99b7b51d3b9ab1f7a769d52096c4f267d2512a19 /test/ectest.c
parentac2b52c6ad0cd40482b1c5c1c4ec68eb16020ae8 (diff)
downloadopenssl-37f03b9881a4ffa52b0059ae444be3c416cf2a5f.zip
openssl-37f03b9881a4ffa52b0059ae444be3c416cf2a5f.tar.gz
openssl-37f03b9881a4ffa52b0059ae444be3c416cf2a5f.tar.bz2
doc fixups
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8555)
Diffstat (limited to 'test/ectest.c')
-rw-r--r--test/ectest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ectest.c b/test/ectest.c
index 355e912..7236b43 100644
--- a/test/ectest.c
+++ b/test/ectest.c
@@ -1602,7 +1602,7 @@ static int check_named_curve_test(int id)
|| !TEST_true(BN_add_word(other_cofactor, 1)))
goto err;
- /* Determine if the inbuilt curve has a seed field set */
+ /* Determine if the built-in curve has a seed field set */
has_seed = (EC_GROUP_get_seed_len(group) > 0);
field_nid = EC_METHOD_get_field_type(EC_GROUP_method_of(group));
if (field_nid == NID_X9_62_characteristic_two_field) {
@@ -1649,14 +1649,14 @@ static int check_named_curve_test(int id)
if (has_seed) {
/*
- * If the built in curve has a seed and we set the seed to another value
+ * If the built-in curve has a seed and we set the seed to another value
* then it will fail the check.
*/
if (!TEST_int_eq(EC_GROUP_check_named_curve(group, 0), 0))
goto err;
} else {
/*
- * If the built in curve does not have a seed then setting the seed will
+ * If the built-in curve does not have a seed then setting the seed will
* pass the check (as the seed is optional).
*/
if (!TEST_int_eq(EC_GROUP_check_named_curve(group, 0), nid))