From 670f9dd91aed7ac435b79c0e28e49fa7c256642c Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Thu, 23 Jun 2011 17:31:19 +0200 Subject: Refactored cipher key types Signed-off-by: Adriaan de Jong Acked-by: David Sommerseth Acked-by: James Yonan Signed-off-by: David Sommerseth --- options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options.c') 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) -- cgit