summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-14 22:03:30 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-14 22:03:30 +0800
commitde1deaf0bde9c0e67932420117caeb390f8ead98 (patch)
treeccf5802f9b75b67d28ce22a42cc947dd018b1dcf /common-algo.c
parente00a97944a412213d5335c3664f45bab0fcdb546 (diff)
use oldstyle comments
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common-algo.c b/common-algo.c
index 621a8cb..e57f37c 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -395,7 +395,7 @@ algo_type * buf_match_algo(buffer* buf, algo_type localalgos[],
for (i = 0; i < clicount; i++) {
for (j = 0; j < servcount; j++) {
if (!(servnames[j] && clinames[i])) {
- // unusable algos are NULL
+ /* unusable algos are NULL */
continue;
}
if (strcmp(servnames[j], clinames[i]) == 0) {
@@ -458,7 +458,7 @@ get_algo_usable(algo_type algos[], const char * algo_name)
return 0;
}
-#endif // DROPBEAR_NONE_CIPHER
+#endif /* DROPBEAR_NONE_CIPHER */
#ifdef ENABLE_USER_ALGO_LIST
@@ -539,4 +539,4 @@ check_user_algos(const char* user_algo_list, algo_type * algos,
memcpy(algos, new_algos, sizeof(*new_algos) * (num_ret+1));
return num_ret;
}
-#endif // ENABLE_USER_ALGO_LIST
+#endif /* ENABLE_USER_ALGO_LIST */