summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha256.c
diff options
context:
space:
mode:
authorjsg <>2019-01-21 23:20:31 +0000
committerjsg <>2019-01-21 23:20:31 +0000
commit6b5710cca200592904a2f0474264ab1e06d1d1dc (patch)
treee3c9888f4b24e34b3f1809344f780bd217bd2cbc /src/lib/libcrypto/sha/sha256.c
parent84065841685e5f7ac2060a36b85d414fc68882f8 (diff)
downloadopenbsd-6b5710cca200592904a2f0474264ab1e06d1d1dc.tar.gz
openbsd-6b5710cca200592904a2f0474264ab1e06d1d1dc.tar.bz2
openbsd-6b5710cca200592904a2f0474264ab1e06d1d1dc.zip
lenght -> length
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/sha/sha256.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/sha/sha256.c b/src/lib/libcrypto/sha/sha256.c
index d584660369..9c05d3b0f8 100644
--- a/src/lib/libcrypto/sha/sha256.c
+++ b/src/lib/libcrypto/sha/sha256.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha256.c,v 1.9 2015/09/10 15:56:26 jsing Exp $ */ 1/* $OpenBSD: sha256.c,v 1.10 2019/01/21 23:20:31 jsg Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved 3 * Copyright (c) 2004 The OpenSSL Project. All rights reserved
4 * according to the OpenSSL license [found in ../../LICENSE]. 4 * according to the OpenSSL license [found in ../../LICENSE].
@@ -81,7 +81,7 @@ int SHA224_Final (unsigned char *md, SHA256_CTX *c)
81 * default: case below covers for it. It's not clear however if it's 81 * default: case below covers for it. It's not clear however if it's
82 * permitted to truncate to amount of bytes not divisible by 4. I bet not, 82 * permitted to truncate to amount of bytes not divisible by 4. I bet not,
83 * but if it is, then default: case shall be extended. For reference. 83 * but if it is, then default: case shall be extended. For reference.
84 * Idea behind separate cases for pre-defined lenghts is to let the 84 * Idea behind separate cases for pre-defined lengths is to let the
85 * compiler decide if it's appropriate to unroll small loops. 85 * compiler decide if it's appropriate to unroll small loops.
86 */ 86 */
87#define HASH_MAKE_STRING(c,s) do { \ 87#define HASH_MAKE_STRING(c,s) do { \