summaryrefslogtreecommitdiff
path: root/ext/encryptors
diff options
context:
space:
mode:
authorDon Anderson <dda@ddanderson.com>2015-04-26 12:12:45 -0400
committerDon Anderson <dda@ddanderson.com>2015-04-26 12:12:45 -0400
commit086dc540698ed318cbf81099cc9b8f7cd9b27a56 (patch)
tree6e4d2f433c92100c27931e09d84b6f197a6b33f5 /ext/encryptors
parent282d3231689f3dacc237444f6e90eb8a714f787d (diff)
downloadmongo-086dc540698ed318cbf81099cc9b8f7cd9b27a56.tar.gz
Added new encryption test for mismatch configuration; style fixes.
Refs #1822.
Diffstat (limited to 'ext/encryptors')
-rw-r--r--ext/encryptors/rotn/rotn_encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/encryptors/rotn/rotn_encrypt.c b/ext/encryptors/rotn/rotn_encrypt.c
index 7ff667c619c..8adbbfb4fcd 100644
--- a/ext/encryptors/rotn/rotn_encrypt.c
+++ b/ext/encryptors/rotn/rotn_encrypt.c
@@ -96,7 +96,7 @@ compute_cksum(uint8_t *src, size_t srclen)
sum = 0;
for (i = 0; i < srclen; i++)
sum = ((sum << 3) | (sum >> 29)) ^ src[i];
- return sum;
+ return (sum);
}
static int