diff options
| author | Christian Beier <dontmind@freeshell.org> | 2018-11-29 09:51:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-29 09:51:49 +0100 |
| commit | 19b695e9f8372ed5ea7174dc8f8a669e345305b9 (patch) | |
| tree | af4d6fab87bf3c56e2d726643d2bee56ccadb40f /common/vncauth.c | |
| parent | 1452b9a6ae082382215a8d0ddcdbb38df38d9aeb (diff) | |
| parent | 716bd27235fe6462271e799a758f2682fa4cb1de (diff) | |
| download | libtdevnc-19b695e9f8372ed5ea7174dc8f8a669e345305b9.tar.gz libtdevnc-19b695e9f8372ed5ea7174dc8f8a669e345305b9.zip | |
Merge pull request #269 from rgacogne/fix-misleading-indentation
Fix -Wmisleading-indentation warnings
Diffstat (limited to 'common/vncauth.c')
| -rw-r--r-- | common/vncauth.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/vncauth.c b/common/vncauth.c index 2a5d96f..81bb10b 100644 --- a/common/vncauth.c +++ b/common/vncauth.c @@ -207,8 +207,9 @@ rfbEncryptBytes2(unsigned char *where, const int length, unsigned char *key) { where[i] ^= key[i]; rfbDes(where, where); for (i = 8; i < length; i += 8) { - for (j = 0; j < 8; j++) + for (j = 0; j < 8; j++) { where[i + j] ^= where[i + j - 8]; - rfbDes(where + i, where + i); + } + rfbDes(where + i, where + i); } } |
