mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Add rough support for choosing ciphers/hashes with "-c" or "-m"
This commit is contained in:
@@ -47,6 +47,10 @@ typedef struct runopts {
|
||||
int enable_compress;
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_USER_ALGO_LIST
|
||||
char *cipher_list;
|
||||
char *mac_list;
|
||||
#endif
|
||||
|
||||
} runopts;
|
||||
|
||||
@@ -148,4 +152,8 @@ typedef struct cli_runopts {
|
||||
extern cli_runopts cli_opts;
|
||||
void cli_getopts(int argc, char ** argv);
|
||||
|
||||
#ifdef ENABLE_USER_ALGO_LIST
|
||||
void parse_ciphers_macs();
|
||||
#endif
|
||||
|
||||
#endif /* _RUNOPTS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user