diff options
author | Matt Johnston <matt@ucc.asn.au> | 2012-05-17 00:12:42 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2012-05-17 00:12:42 +0800 |
commit | 5b73595b2799b061124c05e6d5d375eab07cbe0b (patch) | |
tree | a3f65a5ce911bbf58fa2fb76571a346ef4ca21eb /algo.h | |
parent | 626f8b9b58f599076b4707b3e3cc72cb7aaf1a94 (diff) | |
download | dropbear-5b73595b2799b061124c05e6d5d375eab07cbe0b.tar.gz |
Add rough support for choosing ciphers/hashes with "-c" or "-m"
Diffstat (limited to 'algo.h')
-rw-r--r-- | algo.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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_ */ |