Skip to content

Commit

Permalink
lenght -> length
Browse files Browse the repository at this point in the history
  • Loading branch information
jsg committed Jan 21, 2019
1 parent 30152d1 commit 1450233
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib/libcrypto/des/asm/des_enc.m4
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,7 @@ DES_ncbc_encrypt:
.size DES_ncbc_encrypt, .DES_ncbc_encrypt.end-DES_ncbc_encrypt


! void DES_ede3_cbc_encrypt(input, output, lenght, ks1, ks2, ks3, ivec, enc)
! void DES_ede3_cbc_encrypt(input, output, length, ks1, ks2, ks3, ivec, enc)
! **************************************************************************


Expand Down
4 changes: 2 additions & 2 deletions src/lib/libcrypto/sha/sha256.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: sha256.c,v 1.9 2015/09/10 15:56:26 jsing Exp $ */
/* $OpenBSD: sha256.c,v 1.10 2019/01/21 23:20:31 jsg Exp $ */
/* ====================================================================
* Copyright (c) 2004 The OpenSSL Project. All rights reserved
* according to the OpenSSL license [found in ../../LICENSE].
Expand Down Expand Up @@ -81,7 +81,7 @@ int SHA224_Final (unsigned char *md, SHA256_CTX *c)
* default: case below covers for it. It's not clear however if it's
* permitted to truncate to amount of bytes not divisible by 4. I bet not,
* but if it is, then default: case shall be extended. For reference.
* Idea behind separate cases for pre-defined lenghts is to let the
* Idea behind separate cases for pre-defined lengths is to let the
* compiler decide if it's appropriate to unroll small loops.
*/
#define HASH_MAKE_STRING(c,s) do { \
Expand Down

0 comments on commit 1450233

Please sign in to comment.