summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2022-02-03 18:51:26 +0200
committerPauli <pauli@openssl.org>2022-02-07 11:23:28 +1100
commit07c5465e9855cc485c4a84da8a4251a843bec258 (patch)
treefab1e11462bf4210ae7539bdae798f825ef90c48 /crypto/bn
parent70f39a487d3f7d976a01e0ee7ae98a82ceeea7a0 (diff)
Fix typos
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17634)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/bn_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index 9b19a7243c..b49c8a3bd2 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -452,7 +452,7 @@ static BIGNUM *bin2bn(const unsigned char *s, int len, BIGNUM *ret,
/*
* The loop that does the work iterates from least to most
- * significant BIGNUM chunk, so we adapt parameters to tranfer
+ * significant BIGNUM chunk, so we adapt parameters to transfer
* input bytes accordingly.
*/
switch (endianess) {
@@ -591,7 +591,7 @@ static int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen,
/*
* The loop that does the work iterates from least significant
* to most significant BIGNUM limb, so we adapt parameters to
- * tranfer output bytes accordingly.
+ * transfer output bytes accordingly.
*/
switch (endianess) {
case LITTLE: