summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorThorsten Horstmann <thorsten.horstmann@web.de>2015-02-24 20:51:18 +0800
committerThorsten Horstmann <thorsten.horstmann@web.de>2015-02-24 20:51:18 +0800
commitab9439519ac3ca1ce5b273587544da3494f87308 (patch)
tree0d26af69620cabf404afe2fac5e66a924323578f /common-algo.c
parentabeb9d64a398cb38348f95b8d93b888f4e726cd0 (diff)
Fix for old compilers, variable declarations at beginning of functions
and /**/ comments
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common-algo.c b/common-algo.c
index 9a3664b..a3e9d78 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -87,7 +87,7 @@ const struct dropbear_cipher dropbear_nocipher =
#ifdef DROPBEAR_ENABLE_CBC_MODE
const struct dropbear_cipher_mode dropbear_mode_cbc =
{(void*)cbc_start, (void*)cbc_encrypt, (void*)cbc_decrypt};
-#endif // DROPBEAR_ENABLE_CBC_MODE
+#endif /* DROPBEAR_ENABLE_CBC_MODE */
const struct dropbear_cipher_mode dropbear_mode_none =
{void_start, void_cipher, void_cipher};
@@ -102,7 +102,7 @@ static int dropbear_big_endian_ctr_start(int cipher,
}
const struct dropbear_cipher_mode dropbear_mode_ctr =
{(void*)dropbear_big_endian_ctr_start, (void*)ctr_encrypt, (void*)ctr_decrypt};
-#endif // DROPBEAR_ENABLE_CTR_MODE
+#endif /* DROPBEAR_ENABLE_CTR_MODE */
/* Mapping of ssh hashes to libtomcrypt hashes, including keysize etc.
{&hash_desc, keysize, hashsize} */