summaryrefslogtreecommitdiffstats
path: root/crypto/des
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2022-08-23 20:33:58 +0200
committerPauli <pauli@openssl.org>2022-10-12 16:55:01 +1100
commit1567a821a4616f59748fa8982724f88e542867d6 (patch)
tree76cd3a15990e2c7c8e815555bc39c39f55326f87 /crypto/des
parent8b5424eae5577809264e73a229fcc4c384611fae (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)
Diffstat (limited to 'crypto/des')
-rw-r--r--crypto/des/des_local.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/crypto/des/des_local.h b/crypto/des/des_local.h
index 5b02822952..09099a97dc 100644
--- a/crypto/des/des_local.h
+++ b/crypto/des/des_local.h
@@ -37,19 +37,19 @@
l1=l2=0; \
switch (n) { \
case 8: l2 =((DES_LONG)(*(--(c))))<<24L; \
- /* fall thru */ \
+ /* fall through */ \
case 7: l2|=((DES_LONG)(*(--(c))))<<16L; \
- /* fall thru */ \
+ /* fall through */ \
case 6: l2|=((DES_LONG)(*(--(c))))<< 8L; \
- /* fall thru */ \
+ /* fall through */ \
case 5: l2|=((DES_LONG)(*(--(c)))); \
- /* fall thru */ \
+ /* fall through */ \
case 4: l1 =((DES_LONG)(*(--(c))))<<24L; \
- /* fall thru */ \
+ /* fall through */ \
case 3: l1|=((DES_LONG)(*(--(c))))<<16L; \
- /* fall thru */ \
+ /* fall through */ \
case 2: l1|=((DES_LONG)(*(--(c))))<< 8L; \
- /* fall thru */ \
+ /* fall through */ \
case 1: l1|=((DES_LONG)(*(--(c)))); \
} \
}
@@ -79,19 +79,19 @@
c+=n; \
switch (n) { \
case 8: *(--(c))=(unsigned char)(((l2)>>24L)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 7: *(--(c))=(unsigned char)(((l2)>>16L)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 6: *(--(c))=(unsigned char)(((l2)>> 8L)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 5: *(--(c))=(unsigned char)(((l2) )&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 4: *(--(c))=(unsigned char)(((l1)>>24L)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 3: *(--(c))=(unsigned char)(((l1)>>16L)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 2: *(--(c))=(unsigned char)(((l1)>> 8L)&0xff); \
- /* fall thru */ \
+ /* fall through */ \
case 1: *(--(c))=(unsigned char)(((l1) )&0xff); \
} \
}