summaryrefslogtreecommitdiff
path: root/algo.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2012-05-17 00:12:42 +0800
committerMatt Johnston <matt@ucc.asn.au>2012-05-17 00:12:42 +0800
commit5b73595b2799b061124c05e6d5d375eab07cbe0b (patch)
treea3f65a5ce911bbf58fa2fb76571a346ef4ca21eb /algo.h
parent626f8b9b58f599076b4707b3e3cc72cb7aaf1a94 (diff)
downloaddropbear-5b73595b2799b061124c05e6d5d375eab07cbe0b.tar.gz
Add rough support for choosing ciphers/hashes with "-c" or "-m"
Diffstat (limited to 'algo.h')
-rw-r--r--algo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/algo.h b/algo.h
index 87e524d..73712c3 100644
--- a/algo.h
+++ b/algo.h
@@ -88,4 +88,11 @@ algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[],
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_ */