diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-07-14 20:50:29 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-22 18:00:34 +0200 |
commit | 1271be60c88e6d7e0208fdb893f1e553c2b5f0cf (patch) | |
tree | 8d77bfc01f9eadcab075569063dd833a160bee6a /options.c | |
parent | bcedab1f498d480cc1d4d60789b8459c1498c330 (diff) | |
download | openvpn-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |