summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMartin Olsson <martin@minimum.se>2014-08-19 10:42:52 -0400
committerRich Salz <rsalz@akamai.com>2014-08-19 11:09:33 -0400
commit1afd7fa97c5445b18ce8afe6f81b932b2c217a5f (patch)
tree439f102d784907909ba705e030e852f7f728bc8b /crypto
parent0df043f608047020740b1b5777c4f12741dc2104 (diff)
RT2513: Fix typo's paramter-->parameter
I also found a couple of others (padlock and signinit) and fixed them. Reviewed-by: Emilia Kasper <emilia@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/bn/bn_x931p.c4
-rw-r--r--crypto/ec/ec.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/bn_x931p.c b/crypto/bn/bn_x931p.c
index 04c5c874ec..eb4662ff90 100644
--- a/crypto/bn/bn_x931p.c
+++ b/crypto/bn/bn_x931p.c
@@ -189,8 +189,8 @@ int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
return ret;
}
-/* Generate pair of paramters Xp, Xq for X9.31 prime generation.
- * Note: nbits paramter is sum of number of bits in both.
+/* Generate pair of parameters Xp, Xq for X9.31 prime generation.
+ * Note: nbits parameter is sum of number of bits in both.
*/
int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx)
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h
index fbec3226d4..3601de2c0f 100644
--- a/crypto/ec/ec.h
+++ b/crypto/ec/ec.h
@@ -888,7 +888,7 @@ int i2d_ECPrivateKey(EC_KEY *key, unsigned char **out);
EC_KEY *d2i_ECParameters(EC_KEY **key, const unsigned char **in, long len);
/** Encodes ec parameter and stores the result in a buffer.
- * \param key the EC_KEY object with ec paramters to encode
+ * \param key the EC_KEY object with ec parameters to encode
* \param out the buffer for the result (if NULL the function returns number
* of bytes needed).
* \return 1 on success and 0 if an error occurred.