aboutsummaryrefslogtreecommitdiff
path: root/crypto/desrfb.c
diff options
context:
space:
mode:
authorshiliyang <shiliyang@huawei.com>2020-11-03 11:10:32 +0800
committerDaniel P. Berrangé <berrange@redhat.com>2021-01-29 17:07:53 +0000
commitc93c7dc0367a7df78e4eef2239fdc81c09dada3c (patch)
treeb61cdc1574876a3372d0dcaec332c5a16a62f811 /crypto/desrfb.c
parent7d7dbf9dc15be6e1465c756c2c5ae7f1ab104fc8 (diff)
crypto: Add spaces around operator
I am reading crypto related code, find some code style problems while using checkpatch.pl to check crypto folder. Fix the error style problems. Signed-off-by: Liyang Shi <shiliyang@huawei.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'crypto/desrfb.c')
-rw-r--r--crypto/desrfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/desrfb.c b/crypto/desrfb.c
index 675847c93b..b2a105ebbc 100644
--- a/crypto/desrfb.c
+++ b/crypto/desrfb.c
@@ -93,7 +93,7 @@ void deskey(unsigned char *key, int edf)
}
for( j = 0; j < 24; j++ ) {
if( pcr[pc2[j]] ) kn[m] |= bigbyte[j];
- if( pcr[pc2[j+24]] ) kn[n] |= bigbyte[j];
+ if( pcr[pc2[j + 24]] ) kn[n] |= bigbyte[j];
}
}
cookey(kn);