summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/examples/c/ex_encrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/examples/c/ex_encrypt.c')
-rw-r--r--src/third_party/wiredtiger/examples/c/ex_encrypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/examples/c/ex_encrypt.c b/src/third_party/wiredtiger/examples/c/ex_encrypt.c
index 3b3323bc091..5d5cc66c87f 100644
--- a/src/third_party/wiredtiger/examples/c/ex_encrypt.c
+++ b/src/third_party/wiredtiger/examples/c/ex_encrypt.c
@@ -76,12 +76,12 @@ typedef struct {
#define IV_LEN 16
/*
- * make_cksum --
+ * make_checksum --
* This is where one would call a checksum function on the encrypted
* buffer. Here we just put a constant value in it.
*/
static void
-make_cksum(uint8_t *dst)
+make_checksum(uint8_t *dst)
{
int i;
/*
@@ -220,7 +220,7 @@ rotate_encrypt(WT_ENCRYPTOR *encryptor, WT_SESSION *session,
* Checksum the encrypted buffer and add the IV.
*/
i = 0;
- make_cksum(&dst[i]);
+ make_checksum(&dst[i]);
i += CHKSUM_LEN;
make_iv(&dst[i]);
*result_lenp = dst_len;