summaryrefslogtreecommitdiffhomepage
path: root/runopts.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
commit036edd62068e3ad68aa5d15c10bc8b505fbe2396 (patch)
treec2ac512cd097dfd9bfd61ed465c76a7344cbc5fd /runopts.h
parent10d7a358416e4125b05b0e28f4175659febdcb32 (diff)
Add rough support for choosing ciphers/hashes with "-c" or "-m"
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/runopts.h b/runopts.h
index 83b5861..6d1086b 100644
--- a/runopts.h
+++ b/runopts.h
@@ -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_ */