diff options
author | Don Anderson <dda@ddanderson.com> | 2015-04-26 12:12:45 -0400 |
---|---|---|
committer | Don Anderson <dda@ddanderson.com> | 2015-04-26 12:12:45 -0400 |
commit | 086dc540698ed318cbf81099cc9b8f7cd9b27a56 (patch) | |
tree | 6e4d2f433c92100c27931e09d84b6f197a6b33f5 /ext/encryptors | |
parent | 282d3231689f3dacc237444f6e90eb8a714f787d (diff) | |
download | mongo-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.c | 2 |
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 |