From 37f03b9881a4ffa52b0059ae444be3c416cf2a5f Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Tue, 2 Apr 2019 10:55:00 +1000 Subject: doc fixups Reviewed-by: Nicola Tuveri Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8555) --- crypto/ec/ec_curve.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/ec/ec_curve.c') diff --git a/crypto/ec/ec_curve.c b/crypto/ec/ec_curve.c index e7a3bd8488..6c7c9ddbc7 100644 --- a/crypto/ec/ec_curve.c +++ b/crypto/ec/ec_curve.c @@ -3241,8 +3241,8 @@ int ec_curve_nid_from_params(const EC_GROUP *group) BN_CTX_start(ctx); /* - * The in built curves contains data fields (p, a, b, x, y, order) that are - * all zero padded to be the same size. The size of the padding is + * The built-in curves contains data fields (p, a, b, x, y, order) that are + * all zero-padded to be the same size. The size of the padding is * determined by either the number of bytes in the field modulus (p) or the * EC group order, whichever is larger. */ @@ -3303,7 +3303,7 @@ int ec_curve_nid_from_params(const EC_GROUP *group) && (data->seed_len == 0 || seed_len == 0 || ((size_t)data->seed_len == seed_len && OPENSSL_memcmp(params_seed, seed, seed_len) == 0)) - /* Check that the groups params match the inbuilt curve params */ + /* Check that the groups params match the built-in curve params */ && OPENSSL_memcmp(param_bytes, params, param_len * NUM_BN_FIELDS) == 0) { ret = curve.nid; -- cgit v1.2.3