Mercurial > dropbear
diff common-algo.c @ 1038:d3925ed45a85
Fix for old compilers, variable declarations at beginning of functions
and /**/ comments
author | Thorsten Horstmann <thorsten.horstmann@web.de> |
---|---|
date | Tue, 24 Feb 2015 20:51:18 +0800 |
parents | 6c42bab6e081 |
children | 1e486f368ec3 c45d65392c1a |
line wrap: on
line diff
--- a/common-algo.c Tue Feb 24 20:45:07 2015 +0800 +++ b/common-algo.c Tue Feb 24 20:51:18 2015 +0800 @@ -87,7 +87,7 @@ #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 @@ } 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} */