ENABLE_USER_ALGO_LIST should work for the client

This commit is contained in:
Matt Johnston
2012-05-17 00:26:12 +08:00
parent 036edd6206
commit db34044c7f
4 changed files with 27 additions and 65 deletions

2
algo.h
View File

@@ -89,7 +89,7 @@ algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[],
int *goodguess);
#ifdef ENABLE_USER_ALGO_LIST
int check_user_algos(char* user_algo_list, algo_type * algos,
int check_user_algos(const char* user_algo_list, algo_type * algos,
const char *algo_desc);
char * algolist_string(algo_type algos[]);
#endif