aboutsummaryrefslogtreecommitdiff
path: root/crypto/desrfb.c
diff options
context:
space:
mode:
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);