summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-07-14 20:50:29 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 18:00:34 +0200
commit1271be60c88e6d7e0208fdb893f1e553c2b5f0cf (patch)
tree8d77bfc01f9eadcab075569063dd833a160bee6a /options.c
parentbcedab1f498d480cc1d4d60789b8459c1498c330 (diff)
downloadopenvpn-1271be60c88e6d7e0208fdb893f1e553c2b5f0cf.tar.gz
openvpn-1271be60c88e6d7e0208fdb893f1e553c2b5f0cf.tar.xz
openvpn-1271be60c88e6d7e0208fdb893f1e553c2b5f0cf.zip
Fixed an unintentional change in the options calculated key size.
It is now in bits again. Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 3985439..39e7a57 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)