summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/crypto/des.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CryptoPP/crypto/des.cpp')
-rw-r--r--plugins/CryptoPP/crypto/des.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CryptoPP/crypto/des.cpp b/plugins/CryptoPP/crypto/des.cpp
index 5002f26588..69c4ba066d 100644
--- a/plugins/CryptoPP/crypto/des.cpp
+++ b/plugins/CryptoPP/crypto/des.cpp
@@ -292,9 +292,9 @@ void RawDES::RawSetKey(CipherDir dir, const byte *key)
for (j=0; j<56; j++) /* rotate pc1 the right amount */
pcr[j] = pc1m[(l=j+totrot[i])<(j<28? 28 : 56) ? l: l-28];
/* rotate left and right halves independently */
- for (j=0; j<48; j++){ /* select bits individually */
+ for (j=0; j<48; j++) { /* select bits individually */
/* check bit that goes to ks[j] */
- if (pcr[pc2[j]-1]){
+ if (pcr[pc2[j]-1]) {
/* mask it in if it's there */
l= j % 6;
ks[j/6] |= bytebit[l] >> 2;