diff algo.h @ 682:4edea9f363d0

Add rough support for choosing ciphers/hashes with "-c" or "-m"
author Matt Johnston <matt@ucc.asn.au>
date Thu, 17 May 2012 00:12:42 +0800
parents f9b5dc0cba61
children 63f8d6c469cf
line wrap: on
line diff
--- a/algo.h	Wed May 09 22:52:58 2012 +0800
+++ b/algo.h	Thu May 17 00:12:42 2012 +0800
@@ -88,4 +88,11 @@
 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, 
+		const char *algo_desc);
+char * algolist_string(algo_type algos[]);
+#endif
+
+
 #endif /* _ALGO_H_ */