aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/siphash
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2022-08-23 20:37:03 +0200
committerPauli <pauli@openssl.org>2022-10-12 16:55:01 +1100
commitc7340583097a80a4fe42bacea745b2bbaa6d16db (patch)
treef39a93429d9bbc5bdddfc5458512ce8699695e50 /crypto/siphash
parent1567a821a4616f59748fa8982724f88e542867d6 (diff)
downloadopenssl-c7340583097a80a4fe42bacea745b2bbaa6d16db.tar.gz
crypto/*: Fix various typos, repeated words, align some spelling to LDP.
partially revamped from #16712 - fall thru -> fall through - time stamp -> timestamp - host name -> hostname - ipv6 -> IPv6 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19059)
Diffstat (limited to 'crypto/siphash')
-rw-r--r--crypto/siphash/siphash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/siphash/siphash.c b/crypto/siphash/siphash.c
index 57f61c1db1..e2be3ca597 100644
--- a/crypto/siphash/siphash.c
+++ b/crypto/siphash/siphash.c
@@ -210,22 +210,22 @@ int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen)
switch (ctx->len) {
case 7:
b |= ((uint64_t)ctx->leavings[6]) << 48;
- /* fall thru */
+ /* fall through */
case 6:
b |= ((uint64_t)ctx->leavings[5]) << 40;
- /* fall thru */
+ /* fall through */
case 5:
b |= ((uint64_t)ctx->leavings[4]) << 32;
- /* fall thru */
+ /* fall through */
case 4:
b |= ((uint64_t)ctx->leavings[3]) << 24;
- /* fall thru */
+ /* fall through */
case 3:
b |= ((uint64_t)ctx->leavings[2]) << 16;
- /* fall thru */
+ /* fall through */
case 2:
b |= ((uint64_t)ctx->leavings[1]) << 8;
- /* fall thru */
+ /* fall through */
case 1:
b |= ((uint64_t)ctx->leavings[0]);
case 0: