diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-06-23 17:31:19 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-19 22:13:25 +0200 |
commit | 670f9dd91aed7ac435b79c0e28e49fa7c256642c (patch) | |
tree | 303257a54b2e5e6fa4ea2e46528b142910a556e5 /options.c | |
parent | e8c950f12dfd6187f084fb06b6fe6e57c030bdad (diff) | |
download | openvpn-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |