summaryrefslogtreecommitdiff
path: root/src/blowfish.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-18 21:17:10 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-18 21:17:10 +0200
commit4a9b19ace80d218ca85e4e10a32ed8d0135a48a5 (patch)
tree6241e9b8101abe1bc64476690114e5add4623a8b /src/blowfish.c
parent76e69cef0c4e52dd9d251128cff0a95ae95d8da9 (diff)
downloadvim-git-4a9b19ace80d218ca85e4e10a32ed8d0135a48a5.tar.gz
Fix build on Cygwin and MingW.
Diffstat (limited to 'src/blowfish.c')
-rw-r--r--src/blowfish.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/blowfish.c b/src/blowfish.c
index 10708871e..ee64db65c 100644
--- a/src/blowfish.c
+++ b/src/blowfish.c
@@ -41,7 +41,7 @@ static void bf_e_cblock __ARGS((char_u *block));
static int bf_check_tables __ARGS((uint32_t ipa[18], uint32_t sbi[4][256], uint32_t val));
static int bf_self_test __ARGS((void));
-// Blowfish code
+/* Blowfish code */
static uint32_t pax[18];
static uint32_t ipa[18] = {
0x243f6a88u, 0x85a308d3u, 0x13198a2eu,
@@ -470,8 +470,10 @@ typedef struct {
uint32_t keysum;
} struct_bf_test_data;
-// Assert bf(password, plaintxt) is cryptxt.
-// Assert csum(pax sbx(password)) is keysum.
+/*
+ * Assert bf(password, plaintxt) is cryptxt.
+ * Assert csum(pax sbx(password)) is keysum.
+ */
static struct_bf_test_data bf_test_data[] = {
{
"password",