diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/CryptoPP/crypto/des.cpp | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/crypto/des.cpp')
-rw-r--r-- | plugins/CryptoPP/crypto/des.cpp | 4 |
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;
|