From: Adriaan de Jong Date: Thu, 14 Jul 2011 18:50:29 +0000 (+0200) Subject: Fixed an unintentional change in the options calculated key size. X-Git-Tag: v2.3-alpha1~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1271be60c88e6d7e0208fdb893f1e553c2b5f0cf;p=thirdparty%2Fopenvpn.git Fixed an unintentional change in the options calculated key size. It is now in bits again. Signed-off-by: Adriaan de Jong Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- diff --git a/options.c b/options.c index 398543990..39e7a5719 100644 --- a/options.c +++ b/options.c @@ -2812,7 +2812,7 @@ options_string (const struct options *o, 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.cipher_length); + buf_printf (&out, ",keysize %d", kt.cipher_length * 8); if (o->shared_secret_file) buf_printf (&out, ",secret"); if (!o->replay)