summaryrefslogtreecommitdiffstats
path: root/crypto/idea
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2022-08-23 20:37:03 +0200
committerTomas Mraz <tomas@openssl.org>2022-11-23 18:21:47 +0100
commit2c54276e89ea3d44959f0844430c49de30711a6e (patch)
treee9fcceff25bc7c3cca3da0b82bc31efb4edc6188 /crypto/idea
parent5af0050147ee0fce640722108639f3f7a72353b6 (diff)
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) (cherry picked from commit c7340583097a80a4fe42bacea745b2bbaa6d16db)
Diffstat (limited to 'crypto/idea')
-rw-r--r--crypto/idea/idea_local.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/crypto/idea/idea_local.h b/crypto/idea/idea_local.h
index 3c9ffa0827..e6ada85d87 100644
--- a/crypto/idea/idea_local.h
+++ b/crypto/idea/idea_local.h
@@ -23,19 +23,19 @@ else \
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; \
} \
}
@@ -45,19 +45,19 @@ else \
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); \
} \
}