summaryrefslogtreecommitdiffstats
path: root/crypto/cast
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2022-08-23 20:33:58 +0200
committerTomas Mraz <tomas@openssl.org>2022-11-23 18:21:43 +0100
commit5af0050147ee0fce640722108639f3f7a72353b6 (patch)
treeb34e9ba9255884b0da6ae8193fe1679aa24e79b9 /crypto/cast
parent86699ac6ef49bd6578f0a125f8c018e2ab9298bb (diff)
crypto: Fix various typos, repeated words, align some spelling to LDP.
partially revamped from #16712 - fall thru -> fall through - time stamp -> timestamp - file name -> filename - host name -> hostname Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19059) (cherry picked from commit 1567a821a4616f59748fa8982724f88e542867d6)
Diffstat (limited to 'crypto/cast')
-rw-r--r--crypto/cast/cast_local.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/crypto/cast/cast_local.h b/crypto/cast/cast_local.h
index 4434a34200..c0ab35562e 100644
--- a/crypto/cast/cast_local.h
+++ b/crypto/cast/cast_local.h
@@ -62,19 +62,19 @@
l1=l2=0; \
switch (n) { \
case 8: l2 =((unsigned long)(*(--(c)))) ; \
- /* fall thru */ \
+ /* fall through */ \
case 7: l2|=((unsigned long)(*(--(c))))<< 8; \
- /* fall thru */ \
+ /* fall through */ \
case 6: l2|=((unsigned long)(*(--(c))))<<16; \
- /* fall thru */ \
+ /* fall through */ \
case 5: l2|=((unsigned long)(*(--(c))))<<24; \
- /* fall thru */ \
+ /* fall through */ \
case 4: l1 =((unsigned long)(*(--(c)))) ; \
- /* fall thru */ \
+ /* fall through */ \
case 3: l1|=((unsigned long)(*(--(c))))<< 8; \
- /* fall thru */ \
+ /* fall through */ \
case 2: l1|=((unsigned long)(*(--(c))))<<16; \
- /* fall thru */ \
+ /* fall through */ \
case 1: l1|=((unsigned long)(*(--(c))))<<24; \
} \
}
@@ -84,19 +84,19 @@
c+=n; \
switch (n) { \
case 8: *(--(c))=(unsigned char)(((l2) )&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 7: *(--(c))=(unsigned char)(((l2)>> 8)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 6: *(--(c))=(unsigned char)(((l2)>>16)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 5: *(--(c))=(unsigned char)(((l2)>>24)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 4: *(--(c))=(unsigned char)(((l1) )&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 3: *(--(c))=(unsigned char)(((l1)>> 8)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 2: *(--(c))=(unsigned char)(((l1)>>16)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 1: *(--(c))=(unsigned char)(((l1)>>24)&0xff); \
} \
}