summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-06-23 17:31:19 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-19 22:13:25 +0200
commit670f9dd91aed7ac435b79c0e28e49fa7c256642c (patch)
tree303257a54b2e5e6fa4ea2e46528b142910a556e5 /options.c
parente8c950f12dfd6187f084fb06b6fe6e57c030bdad (diff)
downloadopenvpn-670f9dd91aed7ac435b79c0e28e49fa7c256642c.tar.gz
openvpn-670f9dd91aed7ac435b79c0e28e49fa7c256642c.tar.xz
openvpn-670f9dd91aed7ac435b79c0e28e49fa7c256642c.zip
Refactored cipher key types
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: David Sommerseth <davids@redhat.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.c b/options.c
index 14603bf..a84e34d 100644
--- a/options.c
+++ b/options.c
@@ -2779,9 +2779,9 @@ options_string (const struct options *o,
o->authname, o->authname_defined,
o->keysize, true, false);
- buf_printf (&out, ",cipher %s", kt_cipher_name (&kt));
+ buf_printf (&out, ",cipher %s", cipher_kt_name (kt.cipher));
buf_printf (&out, ",auth %s", md_kt_name (kt.digest));
- buf_printf (&out, ",keysize %d", kt_key_size (&kt));
+ buf_printf (&out, ",keysize %d", kt.cipher_length);
if (o->shared_secret_file)
buf_printf (&out, ",secret");
if (!o->replay)